|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.castor.builder.binding.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()
|
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)
|
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
ValidationException
public void marshal(org.xml.sax.ContentHandler handler) throws java.io.IOException, MarshalException, ValidationException
handler
-
java.io.IOException
MarshalException
ValidationException
public 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
ValidationException
public void validate() throws ValidationException
ValidationException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |