Package org.eclipse.wst.xml.xpath2.processor.internal.types
public class AttrType extends org.eclipse.wst.xml.xpath2.processor.internal.types.NodeTypeA representation of the AttributeType datatype
Field Summary | |
package-private org.w3c.dom.Attr | _value |
Constructor Summary |
AttrType() |
AttrType(org.w3c.dom.Attr v
,
org.eclipse.wst.xml.xpath2.api.typesystem.TypeModel tm) |
Method Summary | |
public java.lang.String | getStringValue() Retrieves a String representation of the attribute being stored |
public org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinition | getTypeDefinition() |
protected boolean | isAttrType(java.lang.String typeName) |
public boolean | isID() Checks if the current node is of type ID |
public boolean | isIDREF() |
public org.eclipse.wst.xml.xpath2.processor.internal.types.QName | node_name() Retrieves the name of the node |
public java.lang.String | string_type() Retrieves the datatype's full pathname |
public org.eclipse.wst.xml.xpath2.api.ResultSequence | typed_value() Creates a new ResultSequence consisting of the attribute being stored |
Field Detail |
package-private org.w3c.dom.Attr _value
Constructor Detail |
public AttrType()
Initialises to null
public AttrType(org.w3c.dom.Attr v
,
org.eclipse.wst.xml.xpath2.api.typesystem.TypeModel tm)
Initialises according to the supplied parameters
Methods Detail |
public java.lang.String getStringValue()
Retrieves a String representation of the attribute being stored
java.lang.String
- String representation of the attribute being stored
public org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinition getTypeDefinition()
org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinition
protected boolean isAttrType(java.lang.String typeName)
typeName
boolean
public boolean isID()
Checks if the current node is of type ID
boolean
public boolean isIDREF()
boolean
public org.eclipse.wst.xml.xpath2.processor.internal.types.QName node_name()
Retrieves the name of the node
org.eclipse.wst.xml.xpath2.processor.internal.types.QName
- Name of the node
public java.lang.String string_type()
Retrieves the datatype's full pathname
java.lang.String
- "attribute" which is the datatype's full pathname
public org.eclipse.wst.xml.xpath2.api.ResultSequence typed_value()
Creates a new ResultSequence consisting of the attribute being stored
org.eclipse.wst.xml.xpath2.api.ResultSequence
- New ResultSequence consisting of the attribute being stored