Module org.apache.santuario.xmlsec
Package org.apache.xml.security.stax.ext
Interface DocumentContext
-
public interface DocumentContextThis class holds per document, context informations
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetBaseURI()Map<Integer,XMLSecurityConstants.ContentType>getContentTypeMap()StringgetEncoding()List<XMLSecurityConstants.ContentType>getProtectionOrder()booleanisInEncryptedContent()booleanisInSignedContent()voidsetIsInEncryptedContent(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 Detail
-
getEncoding
String getEncoding()
- Returns:
- The Encoding of the document
-
getBaseURI
String getBaseURI()
- Returns:
- The base URI of the document if known
-
setIsInEncryptedContent
void setIsInEncryptedContent(int index, Object object)Indicates if we currently stay in an encrypted content
-
unsetIsInEncryptedContent
void unsetIsInEncryptedContent(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, Object object)Indicates if we currently stay in a signed content
-
unsetIsInSignedContent
void unsetIsInSignedContent(Object object)
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()
-
-