public class SupportedSource extends URIMap implements java.io.Serializable
Constructor and Description |
---|
SupportedSource() |
SupportedSource(java.lang.String defaultValue) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAssemblyRule()
Returns the value of field 'assemblyRule'.
|
java.lang.String |
getContent()
Returns the value of field 'content'.
|
boolean |
isValid()
Method isValid.
|
void |
marshal(org.xml.sax.ContentHandler handler) |
void |
marshal(java.io.Writer out) |
void |
setAssemblyRule(java.lang.String assemblyRule)
Sets the value of field 'assemblyRule'.
|
void |
setContent(java.lang.String content)
Sets the value of field 'content'.
|
static SupportedSource |
unmarshalSupportedSource(java.io.Reader reader)
Method unmarshalSupportedSource.
|
void |
validate() |
getLocalId, getUri, setLocalId, setUri, unmarshalURIMap
getParent, setParent
public SupportedSource()
public SupportedSource(java.lang.String defaultValue)
public java.lang.String getAssemblyRule()
public java.lang.String getContent()
getContent
in class URIMap
public boolean isValid()
public void marshal(java.io.Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
public void marshal(org.xml.sax.ContentHandler handler) throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
marshal
in class URIMap
handler
- java.io.IOException
- if an IOException occurs during
marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaorg.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingpublic void setAssemblyRule(java.lang.String assemblyRule)
assemblyRule
- the value of field 'assemblyRule'.public void setContent(java.lang.String content)
setContent
in class URIMap
content
- the value of field 'content'.public static SupportedSource unmarshalSupportedSource(java.io.Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader
- org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schema