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 DocumentContextpublic void setEncoding(String encoding)
public String getBaseURI()
getBaseURI in interface DocumentContextpublic void setBaseURI(String baseURI)
public void setIsInEncryptedContent(int index,
Object key)
DocumentContextsetIsInEncryptedContent in interface DocumentContextpublic void unsetIsInEncryptedContent(Object key)
DocumentContextunsetIsInEncryptedContent in interface DocumentContextpublic boolean isInEncryptedContent()
isInEncryptedContent in interface DocumentContextpublic void setIsInSignedContent(int index,
Object key)
DocumentContextsetIsInSignedContent in interface DocumentContextpublic void unsetIsInSignedContent(Object key)
DocumentContextunsetIsInSignedContent in interface DocumentContextpublic boolean isInSignedContent()
isInSignedContent in interface DocumentContextpublic List<XMLSecurityConstants.ContentType> getProtectionOrder()
getProtectionOrder in interface DocumentContextpublic Map<Integer,XMLSecurityConstants.ContentType> getContentTypeMap()
getContentTypeMap in interface DocumentContextprotected void setContentTypeMap(Map<Integer,XMLSecurityConstants.ContentType> contentTypeMap)
public DocumentContextImpl clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionCopyright © 2000–2020 The Apache Software Foundation. All rights reserved.