textbender.o.rhinohide.core
Class RhiAttr
java.lang.Object
  
Rhinohide
      
RhiEventTarget
          
RhiNode
              
RhiAttr
- All Implemented Interfaces: 
 - Attr, EventTarget, Node
 
@ThreadSafe
final class RhiAttr
- extends RhiNode
- implements Attr
  
An attribute node implemented as an overlay of a JavaScript attribute node.
 
 
| 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 | 
 
 
| Methods inherited from class RhiNode | 
appendChild, cloneNode, compareDocumentPosition, ensureNodeType, equals, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, hashCode, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData, wrapNode, wrapNode | 
 
 
| Methods inherited from class Rhinohide | 
call, callV, checkV, eval, evalV, getMember, getMemberV, jsObject, setMember, toJSObject, toString, window | 
 
 
| Methods inherited from interface org.w3c.dom.Node | 
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData | 
 
wrapAttr
public static RhiAttr wrapAttr(RhiWindow window,
                               netscape.javascript.JSObject jsObject)
- Creates a RhiAttr.
 
- Parameters:
 window - global objectjsObject - bridge to underlying JavaScript attribute,
         per jsObject()
- Returns:
 - attribute, or null if jsObject is null
 - Throws:
 IllegalArgumentException - if jsObject is neither null
         nor an attribute
 
 
wrapAttr
static RhiAttr wrapAttr(RhiWindow window,
                        netscape.javascript.JSObject jsObject,
                        boolean doTypeCheck)
 
 
wrapAttr
static RhiAttr wrapAttr(RhiWindow window,
                        netscape.javascript.JSObject jsObject,
                        boolean doTypeCheck,
                        boolean allowEmptyValue)
 
 
getName
public String getName()
- Specified by:
 getName in interface Attr
 
 
getOwnerElement
public Element getOwnerElement()
- Not yet coded.
- Specified by:
 getOwnerElement in interface Attr
 
- Throws:
 UnsupportedOperationException
 
 
getSchemaTypeInfo
public TypeInfo getSchemaTypeInfo()
- Not yet coded.
- Specified by:
 getSchemaTypeInfo in interface Attr
 
- Throws:
 UnsupportedOperationException
 
 
getSpecified
public boolean getSpecified()
- Specified by:
 getSpecified in interface Attr
 
 
getValue
public String getValue()
- Specified by:
 getValue in interface Attr
 
 
setValue
public void setValue(String value)
- Specified by:
 setValue in interface Attr
 
 
isId
public boolean isId()
- Not yet coded.
- Specified by:
 isId in interface Attr
 
- Throws:
 UnsupportedOperationException