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 java.lang.String |
_ATT_EC_PREFIXLIST
Field _ATT_EC_PREFIXLIST
|
static java.lang.String |
_TAG_EC_INCLUSIVENAMESPACES
Field _TAG_EC_INCLUSIVENAMESPACES
|
static java.lang.String |
ExclusiveCanonicalizationNamespace
Field ExclusiveCanonicalizationNamespace
|
baseURI, constructionElement, doc, log
Constructor and Description |
---|
InclusiveNamespaces(org.w3c.dom.Document doc,
java.util.Set<java.lang.String> prefixes)
Constructor InclusiveNamespaces
|
InclusiveNamespaces(org.w3c.dom.Document doc,
java.lang.String prefixList)
Constructor XPathContainer
|
InclusiveNamespaces(org.w3c.dom.Element element,
java.lang.String BaseURI)
Constructor InclusiveNamespaces
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBaseLocalName()
Method getBaseLocalName
|
java.lang.String |
getBaseNamespace()
Method getBaseNamespace
|
java.lang.String |
getInclusiveNamespaces()
Method getInclusiveNamespaces
|
static java.util.SortedSet<java.lang.String> |
prefixStr2Set(java.lang.String inclusiveNamespaces)
Decodes the
inclusiveNamespaces String and returns all
selected namespace prefixes as a Set. |
addBase64Element, addBase64Text, addBigIntegerElement, addText, addTextElement, createElementForFamily, createElementForFamilyLocal, getBaseURI, getBigIntegerFromChildElement, getBytesFromChildElement, getBytesFromTextChild, getDefaultPrefix, getDocument, getElement, getElementPlusReturns, getTextFromChildElement, getTextFromTextChild, length, registerDefaultPrefixes, setDefaultPrefix, setElement, setXPathNamespaceContext
public static final java.lang.String _TAG_EC_INCLUSIVENAMESPACES
public static final java.lang.String _ATT_EC_PREFIXLIST
public static final java.lang.String ExclusiveCanonicalizationNamespace
public InclusiveNamespaces(org.w3c.dom.Document doc, java.lang.String prefixList)
doc
- prefixList
- public InclusiveNamespaces(org.w3c.dom.Document doc, java.util.Set<java.lang.String> prefixes)
doc
- prefixes
- public InclusiveNamespaces(org.w3c.dom.Element element, java.lang.String BaseURI) throws XMLSecurityException
element
- BaseURI
- XMLSecurityException
public java.lang.String getInclusiveNamespaces()
public static java.util.SortedSet<java.lang.String> prefixStr2Set(java.lang.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:
xmlns
xenc
ds
inclusiveNamespaces
- public java.lang.String getBaseNamespace()
getBaseNamespace
in class ElementProxy
public java.lang.String getBaseLocalName()
getBaseLocalName
in class ElementProxy