|
BEA Systems, Inc. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--weblogic.apache.xml.utils.UnImplNode
|
+--weblogic.apache.xalan.stree.Child
|
+--weblogic.apache.xalan.stree.AttrImpl
Class to hold information about an attribute node.
This class is based on an implementation from the Apache XML Project. In future releases the XML parser, XSLT processor, and associated classes will likely be updated to be based on a later version of the Apache implementations. Since Apache does not guarantee backwards compatibility between versions of their software, we cannot guarantee backwards compatibility of any of the classes contained in the weblogic.apache package or sub-packages.
| Fields inherited from class weblogic.apache.xalan.stree.Child |
m_doc,
m_parent |
| Method Summary | |
void |
dispatchCharactersEvent(org.xml.sax.ContentHandler ch)
Handle a Characters event |
java.lang.String |
getLocalName()
Returns the local part of the qualified name of this node. |
java.lang.String |
getName()
Get this attribute's name |
java.lang.String |
getNamespaceURI()
The namespace URI of this node, or null if it is
unspecified. |
org.w3c.dom.Node |
getNextSibling()
The node immediately following this node. |
java.lang.String |
getNodeName()
Returns the node name. |
short |
getNodeType()
A short integer indicating what type of node this is. |
java.lang.String |
getNodeValue()
Same as getValue(). |
org.w3c.dom.Element |
getOwnerElement()
The Element node this attribute is attached to or
null if this attribute is not in use. |
java.lang.String |
getPrefix()
The namespace prefix of this node, or null if it is
unspecified. |
org.w3c.dom.Node |
getPreviousSibling()
The node immediately preceding this node. |
boolean |
getSpecified()
If this attribute was explicitly given a value in the original document, this is true ; otherwise, it is
false . |
java.lang.String |
getValue()
Returns the value of this attribute node. |
void |
setValue(java.lang.String value)
Sets the value of this attribute node. |
| Methods inherited from class weblogic.apache.xalan.stree.Child |
getAttributes,
getFirstChild,
getLastChild,
getLevel,
getOwnerDocument,
getParentNode,
getTagName,
getTransformer,
getUid,
hasChildNodes,
isComplete,
isNamespaceNode,
isSupported,
setAttribute,
setComplete,
setDoc,
setLevel,
setParent,
setUid,
throwIfParseError,
throwParseError |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Method Detail |
public short getNodeType()
public java.lang.String getNodeName()
public java.lang.String getNamespaceURI()
null if it is
unspecified.
ELEMENT_NODE and
ATTRIBUTE_NODE and nodes created with a DOM Level 1
method, such as createElement from the
Document interface, this is always null.Per
the Namespaces in XML Specification an attribute does not inherit its
namespace from the element it is attached to. If an attribute is not
explicitly given a namespace, it simply has no namespace.
public java.lang.String getPrefix()
null if it is
unspecified.
public java.lang.String getLocalName()
createElement from the Document interface,
it is null.
public java.lang.String getValue()
createElement from the Document interface,
it is null.
public java.lang.String getNodeValue()
throws org.w3c.dom.DOMException
public void setValue(java.lang.String value)
throws org.w3c.dom.DOMException
createElement from the Document interface,
it is null.
value - Attribute value to be setpublic boolean getSpecified()
true ; otherwise, it is
false . Note that the implementation is in charge of this
attribute, not the user. If the user changes the value of the
attribute (even if it ends up having the same value as the default
value) then the specified flag is automatically flipped
to true . To re-specify the attribute as the default
value from the DTD, the user must delete the attribute. The
implementation will then make a new attribute available with
specified set to false and the default value
(if one exists).
specified is true , and the value is
the assigned value. If the attribute has no assigned value in the
document and has a default value in the DTD, then
specified is false , and the value is the
default value in the DTD. If the attribute has no assigned value in
the document and has a value of #IMPLIED in the DTD, then the
attribute does not appear in the structure model of the document.
public org.w3c.dom.Element getOwnerElement()
Element node this attribute is attached to or
null if this attribute is not in use.
public java.lang.String getName()
public org.w3c.dom.Node getPreviousSibling()
null.
public org.w3c.dom.Node getNextSibling()
null.
public void dispatchCharactersEvent(org.xml.sax.ContentHandler ch)
throws org.xml.sax.SAXException
ch - Content handler to handle SAX events
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs61 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||