APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.org.apache.xml.internal.security.transforms.params

public Class InclusiveNamespaces

extends ElementProxy
implements TransformParam
Class Inheritance
All Implemented Interfaces
com.sun.org.apache.xml.internal.security.transforms.TransformParam
Imports
java.util.Set, .SortedSet, .TreeSet, com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException, com.sun.org.apache.xml.internal.security.transforms.TransformParam, com.sun.org.apache.xml.internal.security.utils.ElementProxy, org.w3c.dom.Document, .Element

This Object serves as Content for the ds:Transforms for exclusive Canonicalization. It implements the Element interface and can be used directly in a DOM tree.

Field Summary

Modifier and TypeField and Description
public static final String
_ATT_EC_PREFIXLIST

Field _ATT_EC_PREFIXLIST

public static final String
_TAG_EC_INCLUSIVENAMESPACES

Field _TAG_EC_INCLUSIVENAMESPACES

public static final String
ExclusiveCanonicalizationNamespace

Field ExclusiveCanonicalizationNamespace

Inherited from com.sun.org.apache.xml.internal.security.utils.ElementProxy:
baseURILOG

Constructor Summary

AccessConstructor and Description
public
InclusiveNamespaces(Document doc, String prefixList)

Constructor XPathContainer

public
InclusiveNamespaces(Document doc, Set<String> prefixes)

Constructor InclusiveNamespaces

public
InclusiveNamespaces(Element element, String baseURI)

Constructor InclusiveNamespaces

Method Summary

Modifier and TypeMethod and Description
public String
getBaseLocalName()

Implements abstract com.sun.org.apache.xml.internal.security.utils.ElementProxy.getBaseLocalName.

Method getBaseLocalName Returns the localname of the Elements of the sub-class.

public String
getBaseNamespace()

Implements abstract com.sun.org.apache.xml.internal.security.utils.ElementProxy.getBaseNamespace.

Method getBaseNamespace Returns the namespace of the Elements of the sub-class.

public String

Returns:

The Inclusive Namespace string
getInclusiveNamespaces
()

Method getInclusiveNamespaces

public static SortedSet<String>

Returns:

A set to string
prefixStr2Set
(String inclusiveNamespaces)

Decodes the inclusiveNamespaces String and returns all selected namespace prefixes as a Set.

Inherited from com.sun.org.apache.xml.internal.security.utils.ElementProxy:
addBase64ElementaddBase64TextaddBigIntegerElementaddReturnToSelfaddTextaddTextElementappendOtherappendSelfappendSelfcreateElementForFamilycreateElementForFamilyLocalcreateTextgetBaseURIgetBigIntegerFromChildElementgetBytesFromTextChildgetDefaultPrefixgetDocumentgetElementgetElementPlusReturnsgetFirstChildgetLocalAttributegetTextFromChildElementgetTextFromTextChildlengthregisterDefaultPrefixessetDefaultPrefixsetDocumentsetElementsetElementsetLocalAttributesetLocalIdAttributesetXPathNamespaceContext

Field Detail

_ATT_EC_PREFIXLISTback to summary
public static final String _ATT_EC_PREFIXLIST

Field _ATT_EC_PREFIXLIST

_TAG_EC_INCLUSIVENAMESPACESback to summary
public static final String _TAG_EC_INCLUSIVENAMESPACES

Field _TAG_EC_INCLUSIVENAMESPACES

ExclusiveCanonicalizationNamespaceback to summary
public static final String ExclusiveCanonicalizationNamespace

Field ExclusiveCanonicalizationNamespace

Constructor Detail

InclusiveNamespacesback to summary
public InclusiveNamespaces(Document doc, String prefixList)

Constructor XPathContainer

InclusiveNamespacesback to summary
public InclusiveNamespaces(Document doc, Set<String> prefixes)

Constructor InclusiveNamespaces

InclusiveNamespacesback to summary
public InclusiveNamespaces(Element element, String baseURI) throws XMLSecurityException

Constructor InclusiveNamespaces

Method Detail

getBaseLocalNameback to summary
public String getBaseLocalName()

Implements abstract com.sun.org.apache.xml.internal.security.utils.ElementProxy.getBaseLocalName.

Doc from com.sun.org.apache.xml.internal.security.utils.ElementProxy.getBaseLocalName.

Method getBaseLocalName Returns the localname of the Elements of the sub-class.

getBaseNamespaceback to summary
public String getBaseNamespace()

Implements abstract com.sun.org.apache.xml.internal.security.utils.ElementProxy.getBaseNamespace.

Doc from com.sun.org.apache.xml.internal.security.utils.ElementProxy.getBaseNamespace.

Method getBaseNamespace Returns the namespace of the Elements of the sub-class.

getInclusiveNamespacesback to summary
public String getInclusiveNamespaces()

Method getInclusiveNamespaces

Returns:String

The Inclusive Namespace string

prefixStr2Setback to summary
public static SortedSet<String> prefixStr2Set(String inclusiveNamespaces)

Decodes the inclusiveNamespaces String and returns all selected namespace prefixes as a Set. The #default namespace token is represented as an empty namespace prefix ("xmlns").
The String inclusiveNamespaces=" xenc ds #default" is returned as a Set containing the following Strings:

  • xmlns
  • xenc
  • ds
Returns:SortedSet<String>

A set to string