Package org.eclipse.wst.xml.xpath2.processor.internal.types


org.eclipse.wst.xml.xpath2.processor.internal.types
Class XSHexBinary



public class XSHexBinary
extends org.eclipse.wst.xml.xpath2.processor.internal.types.CtrType
A representation of the xs:hexBinary datatype

Constructor Summary

XSHexBinary(java.lang.String x)
XSHexBinary()

Method Summary

public org.eclipse.wst.xml.xpath2.api.ResultSequenceconstructor(org.eclipse.wst.xml.xpath2.api.ResultSequence arg)
     Creates a new ResultSequence consisting of the hexBinary value
public booleaneq(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 hexBinary
public java.lang.ObjectgetNativeValue()
    
public java.lang.StringgetStringValue()
     Retrieves a String representation of the base64Binary stored. This method is functionally identical to value()
public org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinitiongetTypeDefinition()
    
public java.lang.Stringstring_type()
     Retrieves the datatype's full pathname
public java.lang.Stringtype_name()
     Retrieves the datatype's name
public java.lang.Stringvalue()
     Retrieves a String representation of the hexBinary stored. This method is functionally identical to string_value()

Constructor Detail

XSHexBinary

public XSHexBinary(java.lang.String x)

Initialises using the supplied String


XSHexBinary

public XSHexBinary()

Initialises to null


Methods Detail

constructor

public org.eclipse.wst.xml.xpath2.api.ResultSequence constructor(org.eclipse.wst.xml.xpath2.api.ResultSequence arg)

Creates a new ResultSequence consisting of the hexBinary value

Parameters

arg - The ResultSequence from which to construct hexBinary value

Returns

org.eclipse.wst.xml.xpath2.api.ResultSequence - New ResultSequence representing hexBinary value

Throws:

org.eclipse.wst.xml.xpath2.processor.DynamicError


eq

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 hexBinary

Parameters

arg - The representation to compare with

dynamicContext

Returns

boolean - True if the two representation are same. False otherwise.

Throws:

org.eclipse.wst.xml.xpath2.processor.DynamicError


getNativeValue

public java.lang.Object getNativeValue()

Returns

java.lang.Object


getStringValue

public java.lang.String getStringValue()

Retrieves a String representation of the base64Binary stored. This method is functionally identical to value()

Returns

java.lang.String - The hexBinary stored


getTypeDefinition

public org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinition getTypeDefinition()

Returns

org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinition


string_type

public java.lang.String string_type()

Retrieves the datatype's full pathname

Returns

java.lang.String - "xs:hexBinary" which is the datatype's full pathname


type_name

public java.lang.String type_name()

Retrieves the datatype's name

Returns

java.lang.String - "hexBinary" which is the datatype's name


value

public java.lang.String value()

Retrieves a String representation of the hexBinary stored. This method is functionally identical to string_value()

Returns

java.lang.String - The hexBinary stored