|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eigenbase.xom.ElementDef
org.eigenbase.xom.WrapperElementDef
public class WrapperElementDef
WrapperElementDef is an ElementDef which retains the
underlying XML DOMWrapper. It is used when there is no specific
class for this tag.
![]() |
![]() |
| Field Summary | |
|---|---|
(package private) DOMWrapper |
_def
|
(package private) Class |
enclosure
|
(package private) String |
prefix
|
| Constructor Summary | |
|---|---|
WrapperElementDef(DOMWrapper def,
Class enclosure,
String prefix)
|
|
| Method Summary | |
|---|---|
void |
display(PrintWriter out,
int indent)
Outputs this node to any PrintWriter, in a formatted fashion with automatic indenting. |
void |
displayXML(XMLOutput out,
int indent)
Outputs this element definition in XML to any XMLOutput. |
NodeDef[] |
getChildren()
Returns the children of this node. |
String |
getName()
Returns the name of this node's tag. |
int |
getType()
Returns the type of this element. |
DOMWrapper |
getWrapper()
Retrieves the DOMWrapper which was used to create this
node. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
DOMWrapper _def
Class enclosure
String prefix
| Constructor Detail |
|---|
public WrapperElementDef(DOMWrapper def,
Class enclosure,
String prefix)
| Method Detail |
|---|
public void display(PrintWriter out,
int indent)
NodeDef
out - the PrintWriter to which to write this NodeDef.indent - the indentation level for the printout.
public void displayXML(XMLOutput out,
int indent)
NodeDef
displayXML in interface NodeDefdisplayXML in class ElementDefout - the XMLOutput class to display the XMLpublic int getType()
NodeDefDOMWrapper.getType().
getType in interface NodeDefgetType in class ElementDefpublic String getName()
NodeDef
getName in interface NodeDefgetName in class ElementDefpublic NodeDef[] getChildren()
NodeDef
getChildren in interface NodeDefgetChildren in class ElementDefpublic DOMWrapper getWrapper()
NodeDefDOMWrapper which was used to create this
node. Only works if this nodes's MetaDef.FullDefinition.keepDef was
true (or, if it is not set, if the default
MetaDef.Model.defaultKeepDef is true);
otherwise, returns null.
getWrapper in interface NodeDefgetWrapper in class ElementDef
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||