|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface XmlObject
An XmlObject provides a base interface on a binding on an XML
structure.
XmlObject are organized as a tree structure. Every object knows its
parent. Every object can have children of two sorts :
XmlObject root as an adopted child of the originating including
XmlObject.
XmlObject can thus be seen as implementation independent
wrapping around the generated POJO (the "model").
| Field Summary | |
|---|---|
static XmlObject[] |
EMPTY_ARRAY
|
| Method Summary | ||
|---|---|---|
XmlObject |
duplicateXmlObject()
Create a duplicate of this XmlContext. |
|
|
duplicateXmlObjectAs(java.lang.Class<X> targetInterfaceClass)
|
|
XmlContext |
getXmlContext()
Get XmlContext from which this XmlObject originated. |
|
XmlObjectNode[] |
getXmlObjectAdoptedChildren()
Get list of all adopted child XmlObject. |
|
java.util.Map<javax.xml.namespace.QName,java.lang.Object> |
getXmlObjectAttributes()
Get all attributes defined on this XmlObject. |
|
org.w3c.dom.Node |
getXmlObjectDOMNode()
Get associated DOM node, if known. |
|
java.util.Map<java.lang.String,java.lang.String> |
getXmlObjectInScopeNamespaces()
Get all namespace bindings in scope of this XmlObject. |
|
XmlObjectNode[] |
getXmlObjectNaturalChildren()
Get list of all natural child XmlObject. |
|
void |
setXmlObjectQName(javax.xml.namespace.QName qname)
Set qname of this XmlObject, if allowed. |
|
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Field Detail |
|---|
static final XmlObject[] EMPTY_ARRAY
| Method Detail |
|---|
XmlContext getXmlContext()
XmlContext from which this XmlObject originated.
XmlContext which originated this object.XmlObject duplicateXmlObject()
XmlContext.
All descendants are duplicated as well ; parent hierarchy is NOT duplicated.
XmlContext;<X extends XmlObject> X duplicateXmlObjectAs(java.lang.Class<X> targetInterfaceClass)
void setXmlObjectQName(javax.xml.namespace.QName qname)
XmlObject, if allowed.
qname - New qname.java.util.Map<javax.xml.namespace.QName,java.lang.Object> getXmlObjectAttributes()
XmlObject.
XmlObject, collected
inside a map.XmlObjectNode[] getXmlObjectNaturalChildren()
XmlObject.
XmlObjectNode[] getXmlObjectAdoptedChildren()
XmlObject.
org.w3c.dom.Node getXmlObjectDOMNode()
null if none.java.util.Map<java.lang.String,java.lang.String> getXmlObjectInScopeNamespaces()
XmlObject.
XmlObject (ie declared either
on corresponding XML element, or on ancestors).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||