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 TypeMethodDescriptionboolean
boolean
void
setIsInEncryptedContent
(int index, Object object) Indicates if we currently stay in an encrypted contentvoid
setIsInSignedContent
(int index, Object object) Indicates if we currently stay in a signed contentvoid
unsetIsInEncryptedContent
(Object object) unset when we leave the encrypted contentvoid
unsetIsInSignedContent
(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()
-