Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.exolab.castor.builder.binding.xml.PackageTypeChoice
public class PackageTypeChoice
extends java.lang.Object
implements java.io.Serializable
Constructor Summary | |
Method Summary | |
java.lang.String |
|
java.lang.String |
|
boolean |
|
void |
|
void |
|
void |
|
void |
|
static PackageTypeChoice |
|
void |
|
public java.lang.String getNamespace()
Returns the value of field 'namespace'.
- Returns:
- the value of field 'Namespace'.
public java.lang.String getSchemaLocation()
Returns the value of field 'schemaLocation'.
- Returns:
- the value of field 'SchemaLocation'.
public boolean isValid()
Method isValid.
- Returns:
- true if this object is valid according to the schema
public void marshal(java.io.Writer out) throws MarshalException, ValidationException
- Parameters:
out
-
- Throws:
MarshalException
- if object is null or if any SAXException is thrown during marshalingValidationException
- if this object is an invalid instance according to the schema
public void marshal(org.xml.sax.ContentHandler handler) throws java.io.IOException, MarshalException, ValidationException
- Parameters:
handler
-
- Throws:
ValidationException
- if this object is an invalid instance according to the schemaMarshalException
- if object is null or if any SAXException is thrown during marshaling
public void setNamespace(java.lang.String namespace)
Sets the value of field 'namespace'.
- Parameters:
namespace
- the value of field 'namespace'.
public void setSchemaLocation(java.lang.String schemaLocation)
Sets the value of field 'schemaLocation'.
- Parameters:
schemaLocation
- the value of field 'schemaLocation'.
public static PackageTypeChoice unmarshalPackageTypeChoice(java.io.Reader reader) throws MarshalException, ValidationException
Method unmarshalPackageTypeChoice.
- Parameters:
reader
-
- Returns:
- the unmarshaled org.exolab.castor.builder.binding.PackageTypeChoice
- Throws:
MarshalException
- if object is null or if any SAXException is thrown during marshalingValidationException
- if this object is an invalid instance according to the schema
public void validate() throws ValidationException
- Throws:
ValidationException
- if this object is an invalid instance according to the schema