| java.lang.Object net.sf.saxon.value.Value net.sf.saxon.value.AtomicValue net.sf.saxon.value.BooleanValue
compareTo | public int compareTo(Object other)(Code) | | Compare the value to another boolean value
throws: ClassCastException - if the other value is not a BooleanValue(the parameter is declared as Object to satisfy the Comparableinterface) Parameters: other - The other boolean value -1 if this one is the lower, 0 if they are equal, +1 if thisone is the higher. False is considered to be less than true. |
convertPrimitive | public AtomicValue convertPrimitive(BuiltInAtomicType requiredType, boolean validate, XPathContext context)(Code) | | Convert to target data type
Parameters: requiredType - an integer identifying the required atomic type Parameters: context - an AtomicValue, a value of the required type |
convertToJava | public Object convertToJava(Class target, XPathContext context) throws XPathException(Code) | | Convert to Java object (for passing to external functions)
Parameters: target - the Java class to which conversion is required exception: XPathException - if conversion is not possible or fails An object of the specified Java class |
effectiveBooleanValue | public boolean effectiveBooleanValue(XPathContext context)(Code) | | Get the effective boolean value of this expression
Parameters: context - dynamic evaluation context, not used in thisimplementation the boolean value |
equals | public boolean equals(Object other)(Code) | | Determine whether two boolean values are equal
Parameters: other - the value to be compared to this value true if the other value is a boolean value and is equal to thisvalue |
fromString | public static AtomicValue fromString(CharSequence s)(Code) | | Convert a string to a boolean value, using the XML Schema rules (including
whitespace trimming)
Parameters: s - the input string the relevant BooleanValue if validation succeeds; or an ErrorValue if not. |
get | public static BooleanValue get(boolean value)(Code) | | Factory method: get a BooleanValue
Parameters: value - true or false, to determine which boolean value isrequired the BooleanValue requested |
getBooleanValue | public boolean getBooleanValue()(Code) | | Get the value
true or false, the actual boolean value of this BooleanValue |
getStringValue | public String getStringValue()(Code) | | Convert to string
"true" or "false" |
hashCode | public int hashCode()(Code) | | Get a hash code for comparing two BooleanValues
the hash code |
toString | public String toString()(Code) | | Diagnostic display of this value as a string
a string representation of this value: "true()" or "false()" |
Fields inherited from net.sf.saxon.value.Value | final public static Class[] EMPTY_CLASS_ARRAY(Code)(Java Doc)
|
Methods inherited from net.sf.saxon.value.Value | public static Item asItem(ValueRepresentation value, XPathContext context) throws XPathException(Code)(Java Doc) public static SequenceIterator asIterator(ValueRepresentation val, XPathContext context) throws XPathException(Code)(Java Doc) public static Value asValue(ValueRepresentation val)(Code)(Java Doc) public void checkPermittedContents(SchemaType parentType, StaticContext env, boolean whole) throws XPathException(Code)(Java Doc) public static CharSequence collapseWhitespace(CharSequence in)(Code)(Java Doc) public static Object convert(Item item) throws XPathException(Code)(Java Doc) public static Value convertJavaObjectToXPath(Object object, SequenceType requiredType, Configuration config) throws XPathException(Code)(Java Doc) public Object convertToJava(Class target, XPathContext context) throws XPathException(Code)(Java Doc) public void display(int level, NamePool pool, PrintStream out)(Code)(Java Doc) public boolean effectiveBooleanValue(XPathContext context) throws XPathException(Code)(Java Doc) public boolean equals(Object obj)(Code)(Java Doc) public String evaluateAsString(XPathContext context) throws XPathException(Code)(Java Doc) public Item evaluateItem(XPathContext context) throws XPathException(Code)(Java Doc) public int getCardinality()(Code)(Java Doc) final public int getDependencies()(Code)(Java Doc) public ItemType getItemType(TypeHierarchy th)(Code)(Java Doc) public static SequenceIterator getIterator(ValueRepresentation val) throws XPathException(Code)(Java Doc) public int getLength() throws XPathException(Code)(Java Doc) final public Container getParentExpression()(Code)(Java Doc) public int getSpecialProperties()(Code)(Java Doc) public String getStringValue() throws XPathException(Code)(Java Doc) public int hashCode()(Code)(Java Doc) public Item itemAt(int n) throws XPathException(Code)(Java Doc) final public Iterator iterateSubExpressions()(Code)(Java Doc) public static QNameValue makeQNameValue(Object object, Configuration config)(Code)(Java Doc) public static CharSequence normalizeWhitespace(CharSequence in)(Code)(Java Doc) final public Expression optimize(Optimizer opt, StaticContext env, ItemType contextItemType)(Code)(Java Doc) public void process(XPathContext context) throws XPathException(Code)(Java Doc) final public Expression promote(PromotionOffer offer)(Code)(Java Doc) public Value reduce() throws XPathException(Code)(Java Doc) public boolean schemaEquals(Value obj)(Code)(Java Doc) final public Expression simplify(StaticContext env)(Code)(Java Doc) public static double stringToNumber(CharSequence s) throws NumberFormatException(Code)(Java Doc) public String toString()(Code)(Java Doc) public static CharSequence trimWhitespace(CharSequence in)(Code)(Java Doc) final public Expression typeCheck(StaticContext env, ItemType contextItemType)(Code)(Java Doc)
|
|
|