pdk.flow.xml.XmlTypeInfo
contains functions to operate with XML TypeInfo variables
Last updated
contains functions to operate with XML TypeInfo variables
Last updated
DERIVATION_EXTENSION
2
DERIVATION_LIST
8
DERIVATION_RESTRICTION
1
DERIVATION_UNION
4
Arguments:
Result:
Possible exceptions
Arguments:
Result:
Possible exceptions
The name of a type declared for the associated element or attribute, or null
if unknown.
Arguments:
Result:
Possible exceptions
The namespace of the type declared for the associated element or attribute or null
if the element does not have declaration or if no namespace information is available.
Arguments:
Result:
Possible exceptions
Arguments:
Result:
Possible exceptions
If the document's schema is an XML Schema [] , this constant represents the derivation by .
If the document's schema is an XML Schema [] , this constant represents the .
If the document's schema is an XML Schema [] , this constant represents the derivation by if complex types are involved, or a if simple types are involved.
If the document's schema is an XML Schema [] , this constant represents the if simple types are involved.
Returns name of the by value.
constantValue
::
output ::
- throws if the constantValue
is NULL
Returns value of the by name.
constantName
::
output ::
- throws if the constantName
is NULL
type
::
output ::
- throws if the type
is NULL
type
::
output ::
- throws if the type
is NULL
This method returns if there is a derivation between the reference type definition, i.e. the on which the method is being called, and the other type definition, i.e. the one passed as parameters.
type
::
typeNamespaceArg
:: - the namespace of the other type definition.
typeNameArg
:: - the name of the other type definition.
derivationMethod
:: - the type of derivation and conditions applied between two types, as described in the list of constants provided in this interface.
output :: - If the document's schema is a DTD or no schema is associated with the document, this method will always return false
. If the document's schema is an XML Schema, the method will return true
if the reference type definition is derived from the other type definition according to the derivation parameter. If the value of the parameter is 0
(no bit is set to 1
for the derivationMethod
parameter), the method will return true
if the other type definition can be reached by recursing any combination of {base type definition}, {item type definition}, or {member type definitions} from the reference type definition.
- throws if the type
, typeNamespaceArg
, typeNameArg
or derivationMethod
is NULL