org.apache.xml.security.stax.ext
Interface DocumentContext

All Known Implementing Classes:
DocumentContextImpl

public interface DocumentContext

This class holds per document, context informations

Version:
$Revision: 1367437 $ $Date: 2012-07-31 08:20:29 +0100 (Tue, 31 Jul 2012) $
Author:
$Author: giger $

Method Summary
 String getBaseURI()
           
 Map<Integer,XMLSecurityConstants.ContentType> getContentTypeMap()
           
 String getEncoding()
           
 List<XMLSecurityConstants.ContentType> getProtectionOrder()
           
 boolean isInEncryptedContent()
           
 boolean isInSignedContent()
           
 void setIsInEncryptedContent(int index, Object object)
          Indicates if we currently stay in an encrypted content
 void setIsInSignedContent(int index, Object object)
          Indicates if we currently stay in a signed content
 void unsetIsInEncryptedContent(Object object)
          unset when we leave the encrypted content
 void unsetIsInSignedContent(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()


Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.