|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.purl.sword.base.XmlElement
org.purl.sword.atom.Source
public class Source
Represents an ATOM Generator element.
| Field Summary |
|---|
| Fields inherited from class org.purl.sword.base.XmlElement |
|---|
DATE_FORMAT, DATE_FORMATS, xmlName |
| Constructor Summary | |
|---|---|
Source()
Create a new instance and set the prefix to 'atom' and the local name to 'source'. |
|
| Method Summary | |
|---|---|
static XmlName |
elementName()
|
Generator |
getGenerator()
Get the generator. |
nu.xom.Element |
marshall()
Marshall the data stored in this object into Element objects. |
void |
setGenerator(Generator generator)
Set the generator. |
void |
unmarshall(nu.xom.Element source)
Unmarshall the contents of the source element into the internal data objects in this object. |
SwordValidationInfo |
unmarshall(nu.xom.Element source,
Properties validationProperties)
|
SwordValidationInfo |
validate(ArrayList<SwordValidationInfo> elements,
ArrayList<SwordValidationInfo> attributes,
Properties validationContext)
|
SwordValidationInfo |
validate(Properties validationContext)
|
| Methods inherited from class org.purl.sword.base.XmlElement |
|---|
createValidAttributeInfo, getQualifiedName, getQualifiedName, getQualifiedNameWithPrefix, getXmlName, handleIncorrectElement, isInstanceOf, isInstanceOf, processUnexpectedAttributes, processUnexpectedAttributes, unmarshallBoolean, unmarshallInteger, unmarshallString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Source()
| Method Detail |
|---|
public static XmlName elementName()
public nu.xom.Element marshall()
marshall in interface SwordElementInterface
public void unmarshall(nu.xom.Element source)
throws UnmarshallException
unmarshall in interface SwordElementInterfacesource - The Source element to process.
UnmarshallException - If the element does not contain an ATOM Source
element, or if there is a problem processing the element or any
sub-elements.
public SwordValidationInfo unmarshall(nu.xom.Element source,
Properties validationProperties)
throws UnmarshallException
source - validate -
UnmarshallExceptionpublic SwordValidationInfo validate(Properties validationContext)
validate in class XmlElement
public SwordValidationInfo validate(ArrayList<SwordValidationInfo> elements,
ArrayList<SwordValidationInfo> attributes,
Properties validationContext)
public Generator getGenerator()
public void setGenerator(Generator generator)
generator - The generator.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||