org.wso2.balana.xacml3
Class RequestDefaults

java.lang.Object
  extended by org.wso2.balana.xacml3.RequestDefaults

public class RequestDefaults
extends Object

Represents RequestDefaultsType XML type found in the context schema in XACML 3.0.


Constructor Summary
RequestDefaults(String xPathVersion)
          Constructor that creates a new RequestDefaults based on the given elements.
 
Method Summary
 void encode(OutputStream output)
          Encodes this RequestDefaults into its XML representation and writes this encoding to the given OutputStream with no indentation.
 void encode(OutputStream output, Indenter indenter)
          Encodes this RequestDefaults into its XML representation and writes this encoding to the given OutputStream with indentation.
static RequestDefaults getInstance(Node root)
          creates a RequestDefaults based on its DOM node.
 String getXPathVersion()
          returns XPath version
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestDefaults

public RequestDefaults(String xPathVersion)
Constructor that creates a new RequestDefaults based on the given elements.

Parameters:
xPathVersion - XPath version as String
Method Detail

getInstance

public static RequestDefaults getInstance(Node root)
creates a RequestDefaults based on its DOM node.

Parameters:
root - root the node to parse for the RequestDefaults
Returns:
a new RequestDefaults constructed by parsing

getXPathVersion

public String getXPathVersion()
returns XPath version

Returns:
XPath version as String

encode

public void encode(OutputStream output)
Encodes this RequestDefaults into its XML representation and writes this encoding to the given OutputStream with no indentation.

Parameters:
output - a stream into which the XML-encoded data is written

encode

public void encode(OutputStream output,
                   Indenter indenter)
Encodes this RequestDefaults into its XML representation and writes this encoding to the given OutputStream with indentation.

Parameters:
output - a stream into which the XML-encoded data is written
indenter - an object that creates indentation strings


Copyright © 2015 WSO2. All rights reserved.