amwebarsentitlementservice.support
Class SharedXmlOutputter
java.lang.Object
|
+--amwebarsentitlementservice.support.SharedXmlOutputter
- public class SharedXmlOutputter
- extends java.lang.Object
Method Summary |
protected java.lang.Object |
clone()
It isn't permited to clone the object: The clone method
throws the CloneNotSupportedException. |
static void |
destroy()
|
static SharedXmlOutputter |
getInstance()
Returns the only instance of the SharedXmlOutputter. |
static SharedXmlOutputter |
getInstance(java.lang.String intend,
boolean new_line)
Returns the only instance of the SharedXmlOutputter. |
void |
output(org.jdom.Document doc,
java.io.OutputStream out)
|
void |
output(org.jdom.Element element,
java.io.OutputStream out)
|
java.lang.String |
outputString(org.jdom.Document doc)
|
java.lang.String |
outputString(org.jdom.Element element)
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SharedXmlOutputter
protected SharedXmlOutputter()
SharedXmlOutputter
protected SharedXmlOutputter(boolean use_pool)
SharedXmlOutputter
protected SharedXmlOutputter(java.lang.String intend,
boolean new_line)
SharedXmlOutputter
protected SharedXmlOutputter(boolean use_pool,
java.lang.String intend,
boolean new_line)
getInstance
public static SharedXmlOutputter getInstance()
- Returns the only instance of the SharedXmlOutputter.
- Returns:
- only instance of SharedXmlOutputter
getInstance
public static SharedXmlOutputter getInstance(java.lang.String intend,
boolean new_line)
- Returns the only instance of the SharedXmlOutputter.
- Returns:
- only instance of SharedXmlOutputter
clone
protected java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- It isn't permited to clone the object: The clone method
throws the CloneNotSupportedException.
- Overrides:
clone
in class java.lang.Object
- Throws:
java.lang.CloneNotSupportedException
-
output
public void output(org.jdom.Document doc,
java.io.OutputStream out)
throws java.io.IOException
output
public void output(org.jdom.Element element,
java.io.OutputStream out)
throws java.io.IOException
outputString
public java.lang.String outputString(org.jdom.Document doc)
outputString
public java.lang.String outputString(org.jdom.Element element)
destroy
public static void destroy()