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) | |
GetHashCode (inherited from Object) | |
GetType (inherited from Object) | |
ToString (inherited from Object) |
ValueFactory Class | Marklogic.Xcc Namespace