XfaNamespaceContext

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

NameTypeAccessDescription
XDP_NSStringReadDefault XDP namespace.
TEMPLATE_NS_DEFAULTStringReadDefault template namespace (3.0).
DATA_NSStringReadData namespace.
CONFIG_NS_DEFAULTStringReadConfig namespace (default).
LOCALE_NSStringReadLocale set namespace.
FORM_NSStringReadForm namespace.

Methods

SignatureDescription
XfaNamespaceContext(templateDoc: org.w3c.dom.Document, datasetsDoc: org.w3c.dom.Document)Creates namespace context with auto-detection of template version.
getNamespaceURI(prefix: String)StringReturns the namespace URI bound to the given prefix.
getPrefix(namespaceURI: String)StringReturns 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.

See Also

 English