public class InclusiveNamespaces extends ElementProxy implements TransformParam
Element interface
and can be used directly in a DOM tree.| Modifier and Type | Field and Description |
|---|---|
static String |
_ATT_EC_PREFIXLIST
Field _ATT_EC_PREFIXLIST
|
static String |
_TAG_EC_INCLUSIVENAMESPACES
Field _TAG_EC_INCLUSIVENAMESPACES
|
static String |
ExclusiveCanonicalizationNamespace
Field ExclusiveCanonicalizationNamespace
|
baseURI, LOG| Constructor and Description |
|---|
InclusiveNamespaces(Document doc,
Set<String> prefixes)
Constructor InclusiveNamespaces
|
InclusiveNamespaces(Document doc,
String prefixList)
Constructor XPathContainer
|
InclusiveNamespaces(Element element,
String baseURI)
Constructor InclusiveNamespaces
|
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseLocalName()
Method getBaseLocalName
Returns the localname of the Elements of the sub-class.
|
String |
getBaseNamespace()
Method getBaseNamespace
Returns the namespace of the Elements of the sub-class.
|
String |
getInclusiveNamespaces()
Method getInclusiveNamespaces
|
static SortedSet<String> |
prefixStr2Set(String inclusiveNamespaces)
Decodes the
inclusiveNamespaces String and returns all
selected namespace prefixes as a Set. |
addBase64Element, addBase64Text, addBigIntegerElement, addReturnToSelf, addText, addTextElement, appendOther, appendSelf, appendSelf, createElementForFamily, createElementForFamilyLocal, createText, getBaseURI, getBigIntegerFromChildElement, getBytesFromTextChild, getDefaultPrefix, getDocument, getElement, getElementPlusReturns, getFirstChild, getLocalAttribute, getTextFromChildElement, getTextFromTextChild, length, registerDefaultPrefixes, setDefaultPrefix, setDocument, setElement, setElement, setLocalAttribute, setLocalIdAttribute, setXPathNamespaceContextpublic static final String _TAG_EC_INCLUSIVENAMESPACES
public static final String _ATT_EC_PREFIXLIST
public static final String ExclusiveCanonicalizationNamespace
public InclusiveNamespaces(Document doc, String prefixList)
doc - prefixList - public InclusiveNamespaces(Document doc, Set<String> prefixes)
doc - prefixes - public InclusiveNamespaces(Element element, String baseURI) throws XMLSecurityException
element - baseURI - XMLSecurityExceptionpublic String getInclusiveNamespaces()
public static SortedSet<String> prefixStr2Set(String inclusiveNamespaces)
inclusiveNamespaces String and returns all
selected namespace prefixes as a Set. The #default
namespace token is represented as an empty namespace prefix
("xmlns").
inclusiveNamespaces=" xenc ds #default"
is returned as a Set containing the following Strings:
xmlnsxencdsinclusiveNamespaces - public String getBaseNamespace()
getBaseNamespace in class ElementProxypublic String getBaseLocalName()
getBaseLocalName in class ElementProxyCopyright © 2000–2020 The Apache Software Foundation. All rights reserved.