|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.millscript.millscript.datatypes.XmlComment
public final class XmlComment
An XmlComment is a lightweight object that plays the role of a comment in a XML document.
| Constructor Summary | |
|---|---|
XmlComment(java.lang.String t)
Constructs a new XML comment object, with the specified string contents. |
|
| Method Summary | |
|---|---|
java.lang.String |
getText()
Returns the string contents of this XML comment. |
void |
render(Renderer r)
This method is called to render the implementing object to the specified renderer. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public XmlComment(java.lang.String t)
t - the string contents of the XML comment| Method Detail |
|---|
public void render(Renderer r)
throws java.io.IOException
RenderableIf the implementing object is not a core part of MillScript you may need to query what type of renderer it is, so you can further customise your rendering as appropriate.
render in interface Renderabler - the renderer to render this object with
java.io.IOException - thrown if an IO problem occursRenderable.render(Renderer)public java.lang.String getText()
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||