org.apache.ecs.wml
Class WMLDocument
java.lang.Object
|
+--org.apache.ecs.wml.WMLDocument
- public class WMLDocument
- extends java.lang.Object
This class implements the wml document container
- Author:
- Written by Anders.Samuelson, Modifications by Örjan Petersson
Method Summary |
WMLDocument |
appendWML(Element value)
Append to the wml element for this document container. |
WMLDocument |
appendWML(java.lang.String value)
Append to the wml element for this document container. |
WML |
getWML()
Get the wml element for this document container. |
WMLDocument |
setWML(WML wml)
Set the wml element for this document container. |
java.lang.String |
toString()
Override the toString() method so that it prints something meaningful. |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
XML_VERSION
private static final java.lang.String XML_VERSION
DOCTYPE
private static final java.lang.String DOCTYPE
wml
private WML wml
WMLDocument
public WMLDocument()
- Basic constructor.
WMLDocument
public WMLDocument(WML wml)
getWML
public WML getWML()
- Get the wml element for this document container.
setWML
public WMLDocument setWML(WML wml)
- Set the wml element for this document container.
appendWML
public WMLDocument appendWML(Element value)
- Append to the wml element for this document container.
- Parameters:
value
- adds to the value between the wml tags
appendWML
public WMLDocument appendWML(java.lang.String value)
- Append to the wml element for this document container.
- Parameters:
value
- adds to the value between the wml tags
toString
public final java.lang.String toString()
- Override the toString() method so that it prints something meaningful.
- Overrides:
toString
in class java.lang.Object
Copyright © 1999-2003 Apache Software Foundation. All Rights Reserved.