Interface DocumentContext

All Known Implementing Classes:
DocumentContextImpl

public interface DocumentContext
This class holds per document, context informations
  • Method Details

    • 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