Package org.apache.xml.security.stax.ext
Interface DocumentContext
-
- All Known Implementing Classes:
DocumentContextImpl
public interface DocumentContext
This class holds per document, context informations
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getBaseURI()
java.util.Map<java.lang.Integer,XMLSecurityConstants.ContentType>
getContentTypeMap()
java.lang.String
getEncoding()
java.util.List<XMLSecurityConstants.ContentType>
getProtectionOrder()
boolean
isInEncryptedContent()
boolean
isInSignedContent()
void
setIsInEncryptedContent(int index, java.lang.Object object)
Indicates if we currently stay in an encrypted contentvoid
setIsInSignedContent(int index, java.lang.Object object)
Indicates if we currently stay in a signed contentvoid
unsetIsInEncryptedContent(java.lang.Object object)
unset when we leave the encrypted contentvoid
unsetIsInSignedContent(java.lang.Object object)
unset when we leave the signed content
-
-
-
Method Detail
-
getEncoding
java.lang.String getEncoding()
- Returns:
- The Encoding of the document
-
getBaseURI
java.lang.String getBaseURI()
- Returns:
- The base URI of the document if known
-
setIsInEncryptedContent
void setIsInEncryptedContent(int index, java.lang.Object object)
Indicates if we currently stay in an encrypted content
-
unsetIsInEncryptedContent
void unsetIsInEncryptedContent(java.lang.Object object)
unset when we leave the encrypted content
-
isInEncryptedContent
boolean isInEncryptedContent()
- Returns:
- true if we currently stay in encrypted content
-
setIsInSignedContent
void setIsInSignedContent(int index, java.lang.Object object)
Indicates if we currently stay in a signed content
-
unsetIsInSignedContent
void unsetIsInSignedContent(java.lang.Object object)
unset when we leave the signed content
-
isInSignedContent
boolean isInSignedContent()
- Returns:
- true if we currently stay in signed content
-
getProtectionOrder
java.util.List<XMLSecurityConstants.ContentType> getProtectionOrder()
-
getContentTypeMap
java.util.Map<java.lang.Integer,XMLSecurityConstants.ContentType> getContentTypeMap()
-
-