|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Run-time representation of an element.
Field Summary |
Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
Method Summary | |
AttributeHandler |
getAttributeHandler(String namespaceURI,
String attrName)
Returns the AttributeHandler for the specified attribute name
if the attribute name is recognized; otherwise, this method returns null. |
String |
getAttributeNSOptional(String namespaceURI,
String localName)
Returns the value of the specified attribute, using the given namepsace, if possible. |
Realizable |
getDelegate()
Returns the object that this Realizable delegates object
realization tasks to. |
ElementHandler |
getElementHandler(String namespaceURI,
String elemName)
Returns the ElementHandler for the specified element name if
the element name is recognized by this Realizable ; otherwise,
this method returns null. |
ElementType |
getElementType()
Returns the element type of this Realizable . |
Object |
getObject()
Returns the object that is realized from this element. |
String |
getObjectClassName()
Returns the class name of the object that is realized from this Realizable , taking into account the class name specified
through the class attribute of this element. |
ObjectRealizer |
getObjectRealizer()
Returns the object realizer that created this document. |
URL |
getResolvedURL(String uri)
Resolves the specified URI string against the xml:base
attributes, if any. |
Methods inherited from interface org.w3c.dom.Element |
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS |
Methods inherited from interface org.w3c.dom.Node |
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
Method Detail |
public ElementType getElementType()
Realizable
.
Realizable
public ElementHandler getElementHandler(String namespaceURI, String elemName)
ElementHandler
for the specified element name if
the element name is recognized by this Realizable
; otherwise,
this method returns null.
namespaceURI
- element namespace URIelemName
- element name
ElementHandler
for the specified element name if
the element name is recognized; otherwise, return nullpublic String getAttributeNSOptional(String namespaceURI, String localName)
This is because the absence of a namespace prefix in an attribute means that the attribute is not associated with any namespace at all. The convention for such an attribute is that it belongs to the same namespace as the element containing it.
namespaceURI
- namespace URI of the attributelocalName
- local name of the attribute
public AttributeHandler getAttributeHandler(String namespaceURI, String attrName)
AttributeHandler
for the specified attribute name
if the attribute name is recognized; otherwise, this method returns null.
namespaceURI
- attribute namespace URIattrName
- attribute name
AttributeHandler
for the specified attribute name
if the attribute name is recognized; otherwise, return nullpublic String getObjectClassName()
Realizable
, taking into account the class name specified
through the class
attribute of this element.
Realizable
public Object getObject()
public Realizable getDelegate()
Realizable
delegates object
realization tasks to. Typically, but not necessarily, the returned object
is the same as this Realizable
element.
Realizable
delegates object
realization tasks topublic URL getResolvedURL(String uri)
xml:base
attributes, if any. If no xml:base
attribute has been
defined in the document, the specified URI string is resolved against the
document's base URL.
uri
- an absolute or relative URI string
xml:base
attributes or this document's base URLpublic ObjectRealizer getObjectRealizer()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |