public class Script extends Object implements Serializable
Constructor and Description |
---|
Script() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getContent() |
String |
getLanguage() |
int |
hashCode() |
boolean |
isValid() |
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
setContent(String content) |
void |
setLanguage(String language) |
static Script |
unmarshal(Reader reader) |
void |
validate() |
public String getContent()
public String getLanguage()
public boolean isValid()
public void marshal(Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void setContent(String content)
public void setLanguage(String language)
public static Script unmarshal(Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
Copyright © 2017. All rights reserved.