|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.melloware.jspiff.jaxp.RString
public class RString
RString is a text container class which is used for mixed.
| Constructor Summary | |
|---|---|
RString()
Creates a RString. |
|
RString(Node node)
Creates a RString by the DOM node node. |
|
RString(Object object)
Creates a RString by the Object object. |
|
RString(RStack stack)
Creates a RString by the Stack stack. |
|
RString(RString source)
Creates a RString by the Rstring source. |
|
RString(String text)
Creates a RString by the String text. |
|
| Method Summary | |
|---|---|
Object |
clone()
Clones the String. |
Object |
getContent()
Gets the content. |
String |
getContentAsString()
Gets the text content as String. |
Node |
getNode()
Gets the DOM node. |
Object |
getObject()
Gets the object. |
String |
getText()
Gets the text. |
boolean |
isCdata()
Checks whether cdata or not. |
static boolean |
isMatch(RStack stack)
Tests if elements contained in a Stack stack
is valid for the RString. |
void |
makeElement(Node node)
Creates a DOM representation of the object. |
void |
makeTextAttribute(PrintWriter buffer)
Makes an XML text representation. |
void |
makeTextAttribute(StringBuffer buffer)
Makes an XML text representation. |
void |
makeTextAttribute(Writer buffer)
Makes an XML text representation. |
void |
makeTextElement(PrintWriter buffer)
Makes an XML text representation. |
void |
makeTextElement(StringBuffer buffer)
Makes an XML text representation. |
void |
makeTextElement(Writer buffer)
Makes an XML text representation. |
void |
setCdata(boolean cdata)
Sets wheter cdata or not. |
void |
setContent(Object value)
Sets the content. |
void |
setNode(Node node)
Sets the DOM node. |
void |
setObject(Object object)
Sets the DOM node. |
void |
setText(String text)
Sets the text. |
void |
setup(RStack stack)
Initializes the RString by the Stack stack
that contains Elements. |
String |
toString()
Gets the String. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RString()
RString.
public RString(String text)
RString by the String text.
text - public RString(Node node)
RString by the DOM node node.
node - public RString(Object object)
RString by the Object object.
object - public RString(RString source)
RString by the Rstring source.
source - public RString(RStack stack)
RString by the Stack stack.
This constructor is supposed to be used internallyby the Relaxer system.
stack - | Method Detail |
|---|
public static boolean isMatch(RStack stack)
stack
is valid for the RString.
This mehtod is supposed to be used internally
by the Relaxer system.
stack -
public Object getContent()
public String getContentAsString()
public Node getNode()
public Object getObject()
public String getText()
public void setCdata(boolean cdata)
cdata - public void setContent(Object value)
value - public void setNode(Node node)
node - public void setObject(Object object)
object - public void setText(String text)
text - public boolean isCdata()
public Object clone()
clone in interface IXspfAnythingMixedclone in interface IXspfExtensionMixedclone in class Objectpublic void makeElement(Node node)
parent.
makeElement in interface IXspfAnythingMixedmakeElement in interface IXspfExtensionMixednode - public void makeTextAttribute(StringBuffer buffer)
makeTextAttribute in interface IXspfAnythingMixedmakeTextAttribute in interface IXspfExtensionMixedbuffer -
public void makeTextAttribute(Writer buffer)
throws IOException
makeTextAttribute in interface IXspfAnythingMixedmakeTextAttribute in interface IXspfExtensionMixedbuffer -
IOExceptionpublic void makeTextAttribute(PrintWriter buffer)
makeTextAttribute in interface IXspfAnythingMixedmakeTextAttribute in interface IXspfExtensionMixedbuffer - public void makeTextElement(StringBuffer buffer)
makeTextElement in interface IXspfAnythingMixedmakeTextElement in interface IXspfExtensionMixedbuffer -
public void makeTextElement(Writer buffer)
throws IOException
makeTextElement in interface IXspfAnythingMixedmakeTextElement in interface IXspfExtensionMixedbuffer -
IOExceptionpublic void makeTextElement(PrintWriter buffer)
makeTextElement in interface IXspfAnythingMixedmakeTextElement in interface IXspfExtensionMixedbuffer - public void setup(RStack stack)
RString by the Stack stack
that contains Elements.
This constructor is supposed to be used internallyby the Relaxer system.
setup in interface IXspfAnythingMixedsetup in interface IXspfExtensionMixedstack - public String toString()
toString in interface IXspfAnythingMixedtoString in interface IXspfExtensionMixedtoString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||