org.inria.ns.reflex.processor.asl
Class TextCandidate.Attr

java.lang.Object
  extended by org.inria.ns.reflex.processor.asl.CandidateNode
      extended by org.inria.ns.reflex.processor.asl.TextCandidate
          extended by org.inria.ns.reflex.processor.asl.TextCandidate.Attr
All Implemented Interfaces:
Unwrappable, Attr, Node
Enclosing class:
TextCandidate

public static class TextCandidate.Attr
extends TextCandidate
implements Attr, Unwrappable

A candidate text for an attribute value.

Author:
Philippe Poulard

Nested Class Summary
 
Nested classes/interfaces inherited from class org.inria.ns.reflex.processor.asl.TextCandidate
TextCandidate.Attr, TextCandidate.Text
 
Nested classes/interfaces inherited from interface org.inria.ns.reflex.structures.Unwrappable
Unwrappable.Unwrapper
 
Field Summary
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Fields inherited from interface org.inria.ns.reflex.structures.Unwrappable
UNWRAPPER
 
Method Summary
 boolean equals(Object obj)
           
 String getLocalName()
           
 String getName()
           
 String getNamespaceURI()
           
 String getNodeName()
           
 short getNodeType()
           
 Element getOwnerElement()
           
 String getPrefix()
           
 TypeInfo getSchemaTypeInfo()
           
 boolean getSpecified()
           
 String getValue()
           
 int hashCode()
           
 boolean isId()
           
 void setValue(String value)
           
 Object unwrap()
          Return the object wrapped.
 
Methods inherited from class org.inria.ns.reflex.processor.asl.TextCandidate
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, isWhitespace, newTextCandidate, newTextCandidate, newTextCandidate, newTextCandidate, newTextCandidate, normalize, removeChild, replaceChild, setNodeValue, setPrefix, toString
 
Methods inherited from class org.inria.ns.reflex.processor.asl.CandidateNode
compareDocumentPosition, getBaseURI, getFeature, getTextContent, getUserData, isDefaultNamespace, isEqualNode, isSameNode, lookupNamespaceURI, lookupPrefix, setTextContent, setUserData
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
 

Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getNodeType

public short getNodeType()
Specified by:
getNodeType in interface Node

getNodeName

public String getNodeName()
Specified by:
getNodeName in interface Node

getLocalName

public String getLocalName()
Specified by:
getLocalName in interface Node

getNamespaceURI

public String getNamespaceURI()
Specified by:
getNamespaceURI in interface Node

getPrefix

public String getPrefix()
Specified by:
getPrefix in interface Node

getSpecified

public boolean getSpecified()
Specified by:
getSpecified in interface Attr
See Also:
Attr.getSpecified()

getName

public String getName()
Specified by:
getName in interface Attr
See Also:
Attr.getName()

getValue

public String getValue()
Specified by:
getValue in interface Attr
See Also:
Attr.getValue()

setValue

public void setValue(String value)
              throws DOMException
Specified by:
setValue in interface Attr
Throws:
DOMException
See Also:
Attr.setValue(java.lang.String)

getOwnerElement

public Element getOwnerElement()
Specified by:
getOwnerElement in interface Attr
See Also:
Attr.getOwnerElement()

unwrap

public Object unwrap()
Description copied from interface: Unwrappable
Return the object wrapped. The object wrapped must be of the same type of the wrapper.

Specified by:
unwrap in interface Unwrappable

getSchemaTypeInfo

public TypeInfo getSchemaTypeInfo()
Specified by:
getSchemaTypeInfo in interface Attr

isId

public boolean isId()
Specified by:
isId in interface Attr