org.gxos.schema
Class Namespaces
java.lang.Object
|
+--org.gxos.schema.CustomParameter
|
+--org.gxos.schema.Namespaces
- All Implemented Interfaces:
- java.io.Serializable
- public class Namespaces
- extends CustomParameter
- implements java.io.Serializable
Namespaces in GXOS provide means to name an object subtree and
access it through its name. Objects in different namespaces can
be named using the format nsname:object_name. Each namespace
name is valid only for its children and subtrees.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Namespaces
public Namespaces()
isValid
public boolean isValid()
- Overrides:
isValid
in class CustomParameter
marshal
public void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Overrides:
marshal
in class CustomParameter
- 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 CustomParameter
- Parameters:
handler
-
unmarshal
public static Namespaces 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 CustomParameter