|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.exolab.castor.builder.binding.xml.PackageType
public class PackageType
Mappings between a namespace and a java package can directly be defined in the binding file. This element allows also the mapping between a package and a schemaLocation.
| Constructor Summary | |
|---|---|
PackageType()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
Returns the value of field 'name'. |
PackageTypeChoice |
getPackageTypeChoice()
Returns the value of field 'packageTypeChoice'. |
boolean |
isValid()
Method isValid. |
void |
marshal(org.xml.sax.ContentHandler handler)
|
void |
marshal(java.io.Writer out)
|
void |
setName(java.lang.String name)
Sets the value of field 'name'. |
void |
setPackageTypeChoice(PackageTypeChoice packageTypeChoice)
Sets the value of field 'packageTypeChoice'. |
static PackageType |
unmarshalPackageType(java.io.Reader reader)
Method unmarshalPackageType. |
void |
validate()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PackageType()
| Method Detail |
|---|
public java.lang.String getName()
public PackageTypeChoice getPackageTypeChoice()
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 marshaling
ValidationException - 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
handler -
java.io.IOException - if an IOException occurs during
marshaling
ValidationException - if this
object is an invalid instance according to the schema
MarshalException - if object is
null or if any SAXException is thrown during marshalingpublic void setName(java.lang.String name)
name - the value of field 'name'.public void setPackageTypeChoice(PackageTypeChoice packageTypeChoice)
packageTypeChoice - the value of field
'packageTypeChoice'.
public static PackageType unmarshalPackageType(java.io.Reader reader)
throws MarshalException,
ValidationException
reader -
MarshalException - if object is
null or if any SAXException is thrown during marshaling
ValidationException - if this
object is an invalid instance according to the schema
public void validate()
throws ValidationException
ValidationException - if this
object is an invalid instance according to the schema
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||