Class IncludeType
java.lang.Object
org.exolab.castor.builder.binding.xml.IncludeType
- All Implemented Interfaces:
Serializable
A binding file can include other binding files by specifying the
location
(URI) of the binding files to include.
- Version:
- $Revision$ $Date$
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetURI()Returns the value of field 'URI'.booleanisValid()Method isValid.voidvoidmarshal(ContentHandler handler) voidSets the value of field 'URI'.static IncludeTypeunmarshalIncludeType(Reader reader) Method unmarshalIncludeType.voidvalidate()
-
Constructor Details
-
IncludeType
public IncludeType()
-
-
Method Details
-
getURI
-
isValid
public boolean isValid()Method isValid.- Returns:
- true if this object is valid according to the schema
-
marshal
- 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
-
marshal
public void marshal(ContentHandler handler) throws IOException, MarshalException, ValidationException - Parameters:
handler-- Throws:
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 marshaling
-
setURI
Sets the value of field 'URI'.- Parameters:
URI- the value of field 'URI'.
-
unmarshalIncludeType
public static IncludeType unmarshalIncludeType(Reader reader) throws MarshalException, ValidationException Method unmarshalIncludeType.- Parameters:
reader-- Returns:
- the unmarshaled org.exolab.castor.builder.binding.xml.IncludeType
- 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
-
validate
- Throws:
ValidationException- if this object is an invalid instance according to the schema
-