|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.commons.tom.genericxml.GenericXMLElement
public class GenericXMLElement
TypedObjectNode that represents a generic XML element with associated XML schema type information.
| Constructor Summary | |
|---|---|
GenericXMLElement(QName name,
org.apache.xerces.xs.XSElementDeclaration xsType,
Map<QName,PrimitiveValue> attrs,
List<TypedObjectNode> children)
|
|
| Method Summary | |
|---|---|
void |
addChild(TypedObjectNode node)
|
Map<QName,PrimitiveValue> |
getAttributes()
Returns the attributes of the node. |
List<TypedObjectNode> |
getChildren()
Returns the children of the node. |
QName |
getName()
Returns the element's name. |
PrimitiveValue |
getValue()
|
org.apache.xerces.xs.XSElementDeclaration |
getXSType()
Returns the XML schema declaration of the element. |
boolean |
isNilled()
|
void |
setAttribute(QName name,
PrimitiveValue value)
|
void |
setChildren(List<TypedObjectNode> newChildren)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GenericXMLElement(QName name,
org.apache.xerces.xs.XSElementDeclaration xsType,
Map<QName,PrimitiveValue> attrs,
List<TypedObjectNode> children)
| Method Detail |
|---|
public QName getName()
ElementNode
getName in interface ElementNodenullpublic org.apache.xerces.xs.XSElementDeclaration getXSType()
ElementNode
getXSType in interface ElementNodenullpublic boolean isNilled()
public Map<QName,PrimitiveValue> getAttributes()
ElementNode
getAttributes in interface ElementNodenullpublic List<TypedObjectNode> getChildren()
ElementNode
getChildren in interface ElementNodenullpublic PrimitiveValue getValue()
public void setAttribute(QName name,
PrimitiveValue value)
public void addChild(TypedObjectNode node)
public String toString()
toString in class Objectpublic void setChildren(List<TypedObjectNode> newChildren)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||