public abstract class AbstractRequestCtx extends Object
Modifier and Type | Field and Description |
---|---|
protected Set<Attributes> |
attributesSet
XACML3 attributes as
Attributes objects |
protected Node |
documentRoot |
protected boolean |
isSearch |
protected int |
xacmlVersion |
Constructor and Description |
---|
AbstractRequestCtx() |
Modifier and Type | Method and Description |
---|---|
abstract void |
encode(OutputStream output)
Encodes this
AbstractRequestCtx into its XML representation and writes this encoding to the given
OutputStream . |
abstract void |
encode(OutputStream output,
Indenter indenter)
Encodes this
AbstractRequestCtx into its XML representation and writes this encoding to the given
OutputStream with indentation. |
Set<Attributes> |
getAttributesSet()
Returns a
Set containing Attribute objects. |
Node |
getDocumentRoot()
Returns the root DOM node of the document used to create this object, or null if this object
was created by hand (ie, not through the
getInstance method) or if the root node
was not provided to the constructor. |
int |
getXacmlVersion() |
boolean |
isSearch() |
void |
setSearch(boolean isSearch) |
void |
setXacmlVersion(int xacmlVersion) |
protected int xacmlVersion
protected Node documentRoot
protected Set<Attributes> attributesSet
Attributes
objectsprotected boolean isSearch
public Node getDocumentRoot()
getInstance
method) or if the root node
was not provided to the constructor.public void setSearch(boolean isSearch)
public boolean isSearch()
public int getXacmlVersion()
public void setXacmlVersion(int xacmlVersion)
public Set<Attributes> getAttributesSet()
Set
containing Attribute
objects.Set
public abstract void encode(OutputStream output, Indenter indenter)
AbstractRequestCtx
into its XML representation and writes this encoding to the given
OutputStream
with indentation.output
- a stream into which the XML-encoded data is writtenindenter
- an object that creates indentation stringspublic abstract void encode(OutputStream output)
AbstractRequestCtx
into its XML representation and writes this encoding to the given
OutputStream
. No indentation is used.output
- a stream into which the XML-encoded data is writtenCopyright © 2017 WSO2. All rights reserved.