XfaNamespaceContext
Overview
XfaNamespaceContext is a class in Aspose.PDF FOSS for Java.
Inherits from: NamespaceContext.
Namespace context for XFA XML documents.
This class provides 4 methods for working with XfaNamespaceContext objects in Java programs.
Available methods include: XfaNamespaceContext, getNamespaceURI, getPrefix, getPrefixes.
All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package.
Properties: CONFIG_NS_DEFAULT, DATA_NS, FORM_NS, LOCALE_NS, TEMPLATE_NS_DEFAULT, XDP_NS.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
XDP_NS | String | Read | Default XDP namespace. |
TEMPLATE_NS_DEFAULT | String | Read | Default template namespace (3.0). |
DATA_NS | String | Read | Data namespace. |
CONFIG_NS_DEFAULT | String | Read | Config namespace (default). |
LOCALE_NS | String | Read | Locale set namespace. |
FORM_NS | String | Read | Form namespace. |
Methods
| Signature | Description |
|---|---|
XfaNamespaceContext(templateDoc: org.w3c.dom.Document, datasetsDoc: org.w3c.dom.Document) | Creates namespace context with auto-detection of template version. |
getNamespaceURI(prefix: String) → String | Returns the namespace URI bound to the given prefix. |
getPrefix(namespaceURI: String) → String | Returns a prefix bound to the given namespace URI, or null if none is bound. |
getPrefixes(namespaceURI: String) → Iterator<String> | Returns an iterator over all prefixes bound to the given namespace URI. |