public class XSAnyImpl extends AbstractValidatingXMLObject implements XSAny
XSAny
.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.
|
deregisterValidator, getValidators, registerValidator, validate, validateChildren
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
deregisterValidator, getValidators, registerValidator, validate
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
protected XSAnyImpl(String namespaceURI, String elementLocalName, 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 XSAny
public void setTextContent(String newContent)
setTextContent
in interface XSAny
newContent
- the text content for the DOM Elementpublic List<XMLObject> getUnknownXMLObjects()
getUnknownXMLObjects
in interface ElementExtensibleXMLObject
public List<XMLObject> getUnknownXMLObjects(QName typeOrName)
getUnknownXMLObjects
in interface ElementExtensibleXMLObject
typeOrName
- the QName of the statements to returnpublic List<XMLObject> getOrderedChildren()
getOrderedChildren
in interface XMLObject
public AttributeMap getUnknownAttributes()
getUnknownAttributes
in interface AttributeExtensibleXMLObject
Copyright © 1999–2015. All rights reserved.