org.purl.sword.base
Class BasicStringContentElement
java.lang.Object
org.purl.sword.base.XmlElement
org.purl.sword.base.BasicContentElement
org.purl.sword.base.BasicStringContentElement
- All Implemented Interfaces:
- SwordElementInterface
- Direct Known Subclasses:
- Accept, Category, DcAbstract, Email, Id, Name, Published, SwordCollectionPolicy, SwordPackaging, SwordService, SwordTreatment, SwordUserAgent, SwordVerboseDescription, SwordVersion, Updated, Uri
public class BasicStringContentElement
- extends BasicContentElement
- Author:
- Neil Taylor (nst@aber.ac.uk)
| 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 |
BasicStringContentElement
public BasicStringContentElement(String prefix,
String localName,
String namespaceUri)
BasicStringContentElement
public BasicStringContentElement(XmlName name)
getContent
public String getContent()
setContent
public void setContent(String value)
marshallContent
protected void marshallContent(nu.xom.Element element)
- Specified by:
marshallContent in class BasicContentElement
unmarshallContent
protected void unmarshallContent(nu.xom.Element element)
throws UnmarshallException
- Specified by:
unmarshallContent in class BasicContentElement
- Throws:
UnmarshallException
validateContent
protected SwordValidationInfo validateContent(Properties validationContext)
- Specified by:
validateContent in class BasicContentElement
getContentAsString
protected String getContentAsString()
- Specified by:
getContentAsString in class BasicContentElement
Copyright © 2010 DuraSpace. All Rights Reserved.