org.gxos.schema
Class NodeContents
java.lang.Object
|
+--org.gxos.schema.NodeContentsType
|
+--org.gxos.schema.NodeContents
- All Implemented Interfaces:
- java.io.Serializable
- public class NodeContents
- extends NodeContentsType
- implements java.io.Serializable
A Node used solely as a container need not have any contents
although a NodeContent of Type = Summary and a NodeIcon are
recommended.
- See Also:
- Serialized Form
Methods inherited from class org.gxos.schema.NodeContentsType |
addNodeContent, enumerateNodeContent, getNodeContent, getNodeContent, getNodeContentCount, getNodeIcon, removeAllNodeContent, removeNodeContent, setNodeContent, setNodeContent, setNodeIcon |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeContents
public NodeContents()
isValid
public boolean isValid()
- Overrides:
isValid
in class NodeContentsType
marshal
public void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Overrides:
marshal
in class NodeContentsType
- Parameters:
out
-
marshal
public void marshal(org.xml.sax.DocumentHandler handler)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Overrides:
marshal
in class NodeContentsType
- Parameters:
handler
-
unmarshal
public static NodeContents unmarshal(java.io.Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Parameters:
reader
-
validate
public void validate()
throws org.exolab.castor.xml.ValidationException
- Overrides:
validate
in class NodeContentsType