Package org.eclipse.wst.xml.xpath2.processor.internal.types
public class ElementType extends org.eclipse.wst.xml.xpath2.processor.internal.types.NodeTypeA representation of the ElementType datatype
Constructor Summary |
ElementType() |
ElementType(org.w3c.dom.Element v
,
org.eclipse.wst.xml.xpath2.api.typesystem.TypeModel tm) |
Method Summary | |
public java.lang.String | getStringValue() Retrieves a String representation of the element being stored |
public org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinition | getTypeDefinition() |
protected boolean | isElementType(java.lang.String typeName) |
public boolean | isID() |
public boolean | isIDREF() |
public org.eclipse.wst.xml.xpath2.api.ResultSequence | nilled() |
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 static java.lang.String | textnode_strings(org.w3c.dom.Node node) Recursively concatenate TextNode strings |
public org.eclipse.wst.xml.xpath2.api.ResultSequence | typed_value() Creates a new ResultSequence consisting of the element stored |
public org.w3c.dom.Element | value() Retrieves the actual element value being represented |
Constructor Detail |
public ElementType()
Initialises to a null element
public ElementType(org.w3c.dom.Element 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 element being stored
java.lang.String
- String representation of the element being stored
public org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinition getTypeDefinition()
org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinition
protected boolean isElementType(java.lang.String typeName)
typeName
boolean
public boolean isID()
boolean
public boolean isIDREF()
boolean
public org.eclipse.wst.xml.xpath2.api.ResultSequence nilled()
org.eclipse.wst.xml.xpath2.api.ResultSequence
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
- QName representation of the name of the node
public java.lang.String string_type()
Retrieves the datatype's full pathname
java.lang.String
- "element" which is the datatype's full pathname
public java.lang.String textnode_strings(org.w3c.dom.Node node)
Recursively concatenate TextNode strings
node
- Node to recurse
java.lang.String
- String representation of the node supplied
public org.eclipse.wst.xml.xpath2.api.ResultSequence typed_value()
Creates a new ResultSequence consisting of the element stored
org.eclipse.wst.xml.xpath2.api.ResultSequence
- New ResultSequence consisting of the element stored
public org.w3c.dom.Element value()
Retrieves the actual element value being represented
org.w3c.dom.Element
- Actual element value being represented