|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jst.pagedesigner.dtmanager.converter.AbstractTagConverterContext
public abstract class AbstractTagConverterContext
Abstract ITagConverter implementation of ITagConverterContext.
Provisional API - subject to change
Constructor Summary | |
---|---|
AbstractTagConverterContext(ITagConverter tagConverter)
Instantiates an instance for the specified ITagConverter instance. |
Method Summary | |
---|---|
abstract void |
addChild(org.w3c.dom.Node childNode,
ConvertPosition position)
Adds a child Node instance to ITagConverter's collection of Nodes requiring subsequent processing. |
abstract void |
copyChildren(org.w3c.dom.Element srcElement,
org.w3c.dom.Element destElement)
Add all child Element instances of srcElement to ITagConverter's collection of Nodes requiring subsequent processing. |
abstract org.w3c.dom.Element |
createElement(java.lang.String tag)
Creates an Element instance to be used in ITagConverter's Document instance. |
abstract org.w3c.dom.Text |
createText(java.lang.String content)
Creates a Text node instance to be used in ITagConverter's Document instance. |
org.w3c.dom.Element |
getHostElement()
Gets ITagConverter instance's host Element instance. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractTagConverterContext(ITagConverter tagConverter)
tagConverter
- ITagConverter instance.Method Detail |
---|
public abstract void addChild(org.w3c.dom.Node childNode, ConvertPosition position)
ITagConverterContext
addChild
in interface ITagConverterContext
childNode
- Child Node instance requiring subsequent processing.position
- ConvertPosition instance describing child Node
instance's position, relative to another Node instance.public abstract void copyChildren(org.w3c.dom.Element srcElement, org.w3c.dom.Element destElement)
ITagConverterContext
copyChildren
in interface ITagConverterContext
srcElement
- Source Element instance from which child Elements are
copied.destElement
- Destination Element instance to which child Elements
will be relative.public abstract org.w3c.dom.Element createElement(java.lang.String tag)
ITagConverterContext
createElement
in interface ITagConverterContext
tag
- Name of element to be created.
public abstract org.w3c.dom.Text createText(java.lang.String content)
ITagConverterContext
createText
in interface ITagConverterContext
content
- Textual content of the created text node.
public org.w3c.dom.Element getHostElement()
ITagConverterContext
getHostElement
in interface ITagConverterContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |