The methods of the ValueFactory class are listed below. For a complete list of ValueFactory class members, see the ValueFactory Members topic.
![]() NewDuration |
Convenience method to construct an XdmDuration value. |
![]() NewSequence |
Factory method to construct an XdmSequence from an array of XdmValue objects. |
![]() NewValue |
Generic XdmValue creation factory method. Value types are enumerated in ValueType. Examples are ValueType.XS_INTEGER, ValueType.XS_BOOLEAN, ValueType.SEQUENCE, ValueType.XS_STRING, etc. NOTE: If you pass a valueType of ValueType.NODE, it will be treated as ValueType.ELEMENT. Using ValueType.NODE directly is discouraged, it is defined as the common super-type for all node types. Other node types that may be constructed are ValueType.TEXT and ValueType.BINARY. In future releases, creation of additional node value types will be supported. |
![]() NewVariable |
Factory method to create a variable named value from the given XName and XdmValue objects. |
![]() NewXSBoolean |
A convenience method to construct an {@link com.marklogic.xcc.types.XSBoolean} value. |
![]() NewXSDate |
A convenience method to construct an XSDate value. |
![]() NewXSDateTime |
A convenience method to construct an XSDateTime value. |
![]() NewXSDuration |
Overloaded. A convenience method to construct an XSDuration value. |
![]() NewXSInteger |
A convenience method to construct an XSInteger value. Note that an XQuery xs:integer can hold values larger than a Java int or long. |
![]() NewXSString |
A convenience method to construct an {@link XSString} value. |
![]() NewXSTime |
A convenience method to construct an XSTime value. |
Equals (inherited from Object) |
Determines whether the specified Object is equal to the current Object. |
GetHashCode (inherited from Object) |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) |
Gets the Type of the current instance. |
ToString (inherited from Object) |
Returns a String that represents the current Object. |
ValueFactory Class | Marklogic.Xcc Namespace