java.io.Serializable
public class PackageTypeChoice
extends java.lang.Object
implements java.io.Serializable
Constructor | Description |
---|---|
PackageTypeChoice() |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getNamespace() |
Returns the value of field 'namespace'.
|
java.lang.String |
getSchemaLocation() |
Returns the value of field 'schemaLocation'.
|
boolean |
isValid() |
Method isValid.
|
void |
marshal(java.io.Writer out) |
|
void |
marshal(org.xml.sax.ContentHandler handler) |
|
void |
setNamespace(java.lang.String namespace) |
Sets the value of field 'namespace'.
|
void |
setSchemaLocation(java.lang.String schemaLocation) |
Sets the value of field 'schemaLocation'.
|
static PackageTypeChoice |
unmarshalPackageTypeChoice(java.io.Reader reader) |
Method unmarshalPackageTypeChoice.
|
void |
validate() |
public java.lang.String getNamespace()
public java.lang.String getSchemaLocation()
public boolean isValid()
public void marshal(java.io.Writer out) throws MarshalException, ValidationException
out
- MarshalException
- if object is
null or if any SAXException is thrown during marshalingValidationException
- if this
object is an invalid instance according to the schemapublic void marshal(org.xml.sax.ContentHandler handler) throws java.io.IOException, MarshalException, ValidationException
handler
- java.io.IOException
- if an IOException occurs during
marshalingValidationException
- if this
object is an invalid instance according to the schemaMarshalException
- if object is
null or if any SAXException is thrown during marshalingpublic void setNamespace(java.lang.String namespace)
namespace
- the value of field 'namespace'.public void setSchemaLocation(java.lang.String schemaLocation)
schemaLocation
- the value of field 'schemaLocation'.public static PackageTypeChoice unmarshalPackageTypeChoice(java.io.Reader reader) throws MarshalException, ValidationException
reader
- MarshalException
- if object is
null or if any SAXException is thrown during marshalingValidationException
- if this
object is an invalid instance according to the schemapublic void validate() throws ValidationException
ValidationException
- if this
object is an invalid instance according to the schemaIntalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com