public class RequestDefaults extends Object
| Constructor and Description |
|---|
RequestDefaults(String xPathVersion)
Constructor that creates a new
RequestDefaults based on
the given elements. |
| Modifier and Type | Method and Description |
|---|---|
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
|
public RequestDefaults(String xPathVersion)
RequestDefaults based on
the given elements.xPathVersion - XPath version as Stringpublic static RequestDefaults getInstance(Node root)
RequestDefaults based on its DOM node.root - root the node to parse for the RequestDefaultsRequestDefaults constructed by parsingpublic String getXPathVersion()
Stringpublic void encode(OutputStream output)
RequestDefaults into its XML representation and writes this encoding to the given
OutputStream with no indentation.output - a stream into which the XML-encoded data is writtenpublic void encode(OutputStream output, Indenter indenter)
RequestDefaults 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 stringsCopyright © 2024 WSO2. All rights reserved.