public class DocumentContextImpl extends Object implements DocumentContext, Cloneable
Constructor and Description |
---|
DocumentContextImpl() |
Modifier and Type | Method and Description |
---|---|
DocumentContextImpl |
clone() |
String |
getBaseURI() |
Map<Integer,XMLSecurityConstants.ContentType> |
getContentTypeMap() |
String |
getEncoding() |
List<XMLSecurityConstants.ContentType> |
getProtectionOrder() |
boolean |
isInEncryptedContent() |
boolean |
isInSignedContent() |
void |
setBaseURI(String baseURI) |
protected void |
setContentTypeMap(Map<Integer,XMLSecurityConstants.ContentType> contentTypeMap) |
void |
setEncoding(String encoding) |
void |
setIsInEncryptedContent(int index,
Object key)
Indicates if we currently stay in an encrypted content
|
void |
setIsInSignedContent(int index,
Object key)
Indicates if we currently stay in a signed content
|
void |
unsetIsInEncryptedContent(Object key)
unset when we leave the encrypted content
|
void |
unsetIsInSignedContent(Object key)
unset when we leave the signed content
|
public String getEncoding()
getEncoding
in interface DocumentContext
public void setEncoding(String encoding)
public String getBaseURI()
getBaseURI
in interface DocumentContext
public void setBaseURI(String baseURI)
public void setIsInEncryptedContent(int index, Object key)
DocumentContext
setIsInEncryptedContent
in interface DocumentContext
public void unsetIsInEncryptedContent(Object key)
DocumentContext
unsetIsInEncryptedContent
in interface DocumentContext
public boolean isInEncryptedContent()
isInEncryptedContent
in interface DocumentContext
public void setIsInSignedContent(int index, Object key)
DocumentContext
setIsInSignedContent
in interface DocumentContext
public void unsetIsInSignedContent(Object key)
DocumentContext
unsetIsInSignedContent
in interface DocumentContext
public boolean isInSignedContent()
isInSignedContent
in interface DocumentContext
public List<XMLSecurityConstants.ContentType> getProtectionOrder()
getProtectionOrder
in interface DocumentContext
public Map<Integer,XMLSecurityConstants.ContentType> getContentTypeMap()
getContentTypeMap
in interface DocumentContext
protected void setContentTypeMap(Map<Integer,XMLSecurityConstants.ContentType> contentTypeMap)
public DocumentContextImpl clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.