public class MOTree extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DDFNameTag |
static String |
MgmtTreeTag |
static String |
NodeNameTag |
static String |
NodeTag |
static String |
PathTag |
static String |
RTPropTag |
static String |
TypeTag |
static String |
ValueTag |
Constructor and Description |
---|
MOTree(String urn,
String rev,
OMAConstructed root) |
MOTree(XMLNode node,
String urn) |
Modifier and Type | Method and Description |
---|---|
static MOTree |
buildMgmtTree(String urn,
String rev,
OMAConstructed root) |
String |
getDtdRev() |
OMAConstructed |
getRoot() |
String |
getUrn() |
static boolean |
hasMgmtTreeTag(String text) |
void |
marshal(OutputStream out) |
String |
toString()
Returns a string representation of the object.
|
String |
toXml() |
static MOTree |
unmarshal(InputStream in) |
public static final String MgmtTreeTag
public static final String NodeTag
public static final String NodeNameTag
public static final String PathTag
public static final String ValueTag
public static final String RTPropTag
public static final String TypeTag
public static final String DDFNameTag
public MOTree(XMLNode node, String urn) throws IOException, SAXException
IOException
SAXException
public MOTree(String urn, String rev, OMAConstructed root) throws IOException
IOException
public static MOTree buildMgmtTree(String urn, String rev, OMAConstructed root) throws IOException
IOException
public static boolean hasMgmtTreeTag(String text)
public String getUrn()
public String getDtdRev()
public OMAConstructed getRoot()
public String toString()
Object
toString
method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString
method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@
', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())
public void marshal(OutputStream out) throws IOException
IOException
public static MOTree unmarshal(InputStream in) throws IOException
IOException
public String toXml()