XfaNamespaceContext
Vue de l’ensemble
‘XfaNamespaceContext’ est une classe dans Aspose.PDF FOSS pour Java.Déduit de: `NomespacePontex’.
Contexte de nom pour les documents XML XFA.
Cette classe fournit 4 méthodes pour travailler avec des objets XfaNamespaceContext dans les programmes Java. Les méthodologies disponibles comprennent: Xfa Nam spaceContaxt, getNAMespaceURI , ‘getPrefixetgetPrefixes. Tous les membres publics sont accessibles à toute application Java après l'installation de l’Aspose.PDF FOSS pour le package Java . Propriétés : CONFIG_NS_DEFAULT;DATA_NA; FORM_NSS., LOCALE_NO,, TEMPLATE_NE_DEFAULT’, xDP_NI .
Propriétés
| 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. |
méthodes
| 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. |
Voir aussi
- Aspose.PDF pour Java — API d’entreprise