Package org.eclipse.wst.xml.xpath2.processor.internal.types
public class XSString extends org.eclipse.wst.xml.xpath2.processor.internal.types.CtrTypeA representation of the String datatype
Constructor Summary |
XSString(java.lang.String x) |
XSString() |
Method Summary | |
public org.eclipse.wst.xml.xpath2.api.ResultSequence | constructor(org.eclipse.wst.xml.xpath2.api.ResultSequence arg) Creates a new ResultSequence consisting of the extractable String in the supplied ResultSequence |
public boolean | eq(org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType arg
,
org.eclipse.wst.xml.xpath2.api.DynamicContext dynamicContext) Equality comparison between this and the supplied representation which must be of type String |
public java.lang.Object | getNativeValue() |
public java.lang.String | getStringValue() Retrieves a String representation of the string stored. This method is functionally identical to value() |
public org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinition | getTypeDefinition() |
public boolean | gt(org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType arg
,
org.eclipse.wst.xml.xpath2.api.DynamicContext context) Comparison between this and the supplied representation which must be of type String |
public boolean | lt(org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType arg
,
org.eclipse.wst.xml.xpath2.api.DynamicContext context) Comparison between this and the supplied representation which must be of type String |
public java.lang.String | string_type() Retrieves the datatype's full pathname |
public java.lang.String | type_name() Retrieves the datatype's name |
public java.lang.String | value() Retrieves a String representation of the string stored. This method is functionally identical to string_value() |
Constructor Detail |
public XSString(java.lang.String x)
Initialises using the supplied String
public XSString()
Initialises to null
Methods Detail |
public org.eclipse.wst.xml.xpath2.api.ResultSequence constructor(org.eclipse.wst.xml.xpath2.api.ResultSequence arg)
Creates a new ResultSequence consisting of the extractable String in the supplied ResultSequence
arg
- The ResultSequence from which to extract the String
org.eclipse.wst.xml.xpath2.api.ResultSequence
- New ResultSequence consisting of the supplied String
org.eclipse.wst.xml.xpath2.processor.DynamicError
public boolean eq(org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType arg
,
org.eclipse.wst.xml.xpath2.api.DynamicContext dynamicContext)
Equality comparison between this and the supplied representation which must be of type String
arg
- The representation to compare with
dynamicContext
boolean
- True if the two representation are of the same String. False otherwise
org.eclipse.wst.xml.xpath2.processor.DynamicError
public java.lang.Object getNativeValue()
java.lang.Object
public java.lang.String getStringValue()
Retrieves a String representation of the string stored. This method is functionally identical to value()
java.lang.String
- The String stored
public org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinition getTypeDefinition()
org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinition
public boolean gt(org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType arg
,
org.eclipse.wst.xml.xpath2.api.DynamicContext context)
Comparison between this and the supplied representation which must be of type String
arg
- The representation to compare with
context
boolean
- True if this String is lexographically greater than that supplied. False otherwise
org.eclipse.wst.xml.xpath2.processor.DynamicError
public boolean lt(org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType arg
,
org.eclipse.wst.xml.xpath2.api.DynamicContext context)
Comparison between this and the supplied representation which must be of type String
arg
- The representation to compare with
context
boolean
- True if this String is lexographically less than that supplied. False otherwise
org.eclipse.wst.xml.xpath2.processor.DynamicError
public java.lang.String string_type()
Retrieves the datatype's full pathname
java.lang.String
- "xs:string" which is the datatype's full pathname
public java.lang.String type_name()
Retrieves the datatype's name
java.lang.String
- "string" which is the datatype's name
public java.lang.String value()
Retrieves a String representation of the string stored. This method is functionally identical to string_value()
java.lang.String
- The String stored