Package org.apache.xml.security.stax.ext
Interface DocumentContext
-
- All Known Implementing Classes:
DocumentContextImpl
public interface DocumentContextThis class holds per document, context informations
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetBaseURI()java.util.Map<java.lang.Integer,XMLSecurityConstants.ContentType>getContentTypeMap()java.lang.StringgetEncoding()java.util.List<XMLSecurityConstants.ContentType>getProtectionOrder()booleanisInEncryptedContent()booleanisInSignedContent()voidsetIsInEncryptedContent(int index, java.lang.Object object)Indicates if we currently stay in an encrypted contentvoidsetIsInSignedContent(int index, java.lang.Object object)Indicates if we currently stay in a signed contentvoidunsetIsInEncryptedContent(java.lang.Object object)unset when we leave the encrypted contentvoidunsetIsInSignedContent(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()
-
-