org.openspml.v2.util.xml
Class BasicMarshallableElement

java.lang.Object
  extended byorg.openspml.v2.util.xml.BasicMarshallableElement
All Implemented Interfaces:
MarshallableElement
Direct Known Subclasses:
BasicMarshallable

public abstract class BasicMarshallableElement
extends java.lang.Object
implements MarshallableElement

A starter class for the MarshallableElements

Author:
Kent Spaulding

Field Summary
 
Fields inherited from interface org.openspml.v2.msg.MarshallableElement
code_id
 
Constructor Summary
protected BasicMarshallableElement()
           
 
Method Summary
abstract  PrefixAndNamespaceTuple[] getNamespacesInfo()
          We need to know the namespace of the class to include.
abstract  boolean isValid()
          Is this ready to go or are there syntax errors, like missing required fields?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicMarshallableElement

protected BasicMarshallableElement()
Method Detail

getNamespacesInfo

public abstract PrefixAndNamespaceTuple[] getNamespacesInfo()
Description copied from interface: MarshallableElement
We need to know the namespace of the class to include.

Specified by:
getNamespacesInfo in interface MarshallableElement
Returns:
set of tuples defining the namespaces to use.

isValid

public abstract boolean isValid()
Description copied from interface: MarshallableElement
Is this ready to go or are there syntax errors, like missing required fields?

Specified by:
isValid in interface MarshallableElement
Returns:
is this valid? do the values of the fields make legal sense?


Copyright © Sun Microsystems, Inc. All Rights Reserved.