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
Modifier and TypeMethodDescriptionbooleanbooleanvoidsetIsInEncryptedContent(int index, Object object) Indicates if we currently stay in an encrypted contentvoidsetIsInSignedContent(int index, Object object) Indicates if we currently stay in a signed contentvoidunsetIsInEncryptedContent(Object object) unset when we leave the encrypted contentvoidunsetIsInSignedContent(Object object) unset when we leave the signed content
-
Method Details
-
getEncoding
String getEncoding()- Returns:
- The Encoding of the document
-
getBaseURI
String getBaseURI()- Returns:
- The base URI of the document if known
-
setIsInEncryptedContent
Indicates if we currently stay in an encrypted content -
unsetIsInEncryptedContent
unset when we leave the encrypted content -
isInEncryptedContent
boolean isInEncryptedContent()- Returns:
- true if we currently stay in encrypted content
-
setIsInSignedContent
Indicates if we currently stay in a signed content -
unsetIsInSignedContent
unset when we leave the signed content -
isInSignedContent
boolean isInSignedContent()- Returns:
- true if we currently stay in signed content
-
getProtectionOrder
List<XMLSecurityConstants.ContentType> getProtectionOrder() -
getContentTypeMap
Map<Integer,XMLSecurityConstants.ContentType> getContentTypeMap()
-