public class XSAnyImpl extends AbstractXMLObject implements XSAny
XSAny.| Modifier and Type | Field and Description |
|---|---|
private String |
textContent
Text content of the element.
|
private AttributeMap |
unknownAttributes
Attributes for this element.
|
private IndexedXMLObjectChildrenList<XMLObject> |
unknownXMLObjects
Child XMLObjects.
|
TYPE_LOCAL_NAME, TYPE_NAME| Modifier | Constructor and Description |
|---|---|
protected |
XSAnyImpl(String namespaceURI,
String elementLocalName,
String namespacePrefix)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<XMLObject> |
getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
|
String |
getTextContent()
Gets the text content for the DOM Element.
|
AttributeMap |
getUnknownAttributes()
Gets a mutable map of the attributes.
|
List<XMLObject> |
getUnknownXMLObjects()
Gets the list of XMLObjects added to this XMLObject as part of the "any" content model.
|
List<XMLObject> |
getUnknownXMLObjects(QName typeOrName)
Gets the list of XMLObjects added to this XMLObject as part of the "any" content model,
and which match the specified QName.
|
void |
setTextContent(String newContent)
Sets the text content for the DOM Element.
|
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdetach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation@Nonnull private IndexedXMLObjectChildrenList<XMLObject> unknownXMLObjects
@Nonnull private AttributeMap unknownAttributes
protected XSAnyImpl(@Nullable String namespaceURI, @Nonnull String elementLocalName, @Nullable String namespacePrefix)
namespaceURI - the namespace the element is inelementLocalName - the local name of the XML element this Object representsnamespacePrefix - the prefix for the given namespacepublic String getTextContent()
getTextContent in interface XSAnypublic void setTextContent(@Nullable String newContent)
setTextContent in interface XSAnynewContent - the text content for the DOM Element@Nonnull public List<XMLObject> getUnknownXMLObjects()
getUnknownXMLObjects in interface ElementExtensibleXMLObject@Nonnull public List<XMLObject> getUnknownXMLObjects(@Nonnull QName typeOrName)
getUnknownXMLObjects in interface ElementExtensibleXMLObjecttypeOrName - the QName of the statements to return@Nullable public List<XMLObject> getOrderedChildren()
getOrderedChildren in interface XMLObject@Nonnull public AttributeMap getUnknownAttributes()
getUnknownAttributes in interface AttributeExtensibleXMLObjectCopyright © 1999–2015. All rights reserved.