org.apache.lucene.gdata.gom.core
Class GOMTextContructImpl
java.lang.Object
org.apache.lucene.gdata.gom.core.AbstractGOMElement
org.apache.lucene.gdata.gom.core.GOMTextContructImpl
- All Implemented Interfaces:
- AtomParser, GOMElement, GOMTextConstruct, GOMXmlEntity
- Direct Known Subclasses:
- GOMContentImpl, GOMRightsImpl, GOMSubtitleImpl, GOMSummaryImpl, GOMTitleImpl
public abstract class GOMTextContructImpl
- extends AbstractGOMElement
- implements GOMTextConstruct
- Author:
- Simon Willnauer
Fields inherited from interface org.apache.lucene.gdata.gom.core.AtomParser |
DUPLICATE_ATTRIBUTE, DUPLICATE_ELEMENT, DUPLICATE_ELEMENT_VALUE, INVALID_ATTRIBUTE, INVALID_ELEMENT_VALUE, MISSING_ELEMENT_ATTRIBUTE, MISSING_ELEMENT_CHILD, MISSING_ELEMENT_VALUE, MISSING_ELEMENT_VALUE_PLAIN, UNEXPECTED_ATTRIBUTE, UNEXPECTED_ELEMENT, UNEXPECTED_ELEMENT_CHILD, UNEXPECTED_ELEMENT_VALUE, URECOGNIZED_ELEMENT_CHILD |
Methods inherited from class org.apache.lucene.gdata.gom.core.AbstractGOMElement |
addAttribute, getLocalName, getQname, getTextValue, getXmlBase, getXmlLang, getXmlNamespaceAttributes, setLocalName, setNamespacePrefix, setNamespaceUri, setTextValue, writeRssOutput |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
contentType
protected ContentType contentType
rssLocalName
protected String rssLocalName
blobParser
protected transient org.apache.lucene.gdata.gom.core.GOMTextContructImpl.XMLBlobContentParser blobParser
htmlBuilder
protected transient StringBuilder htmlBuilder
GOMTextContructImpl
public GOMTextContructImpl()
getContentType
public ContentType getContentType()
- Returns:
- the contentType
processElementValue
public void processElementValue(String aValue)
- Description copied from class:
AbstractGOMElement
-
- Specified by:
processElementValue
in interface AtomParser
- Overrides:
processElementValue
in class AbstractGOMElement
- See Also:
AtomParser.processElementValue(java.lang.String)
processAttribute
public void processAttribute(javax.xml.namespace.QName aQName,
String aValue)
- Description copied from class:
AbstractGOMElement
-
- Specified by:
processAttribute
in interface AtomParser
- Overrides:
processAttribute
in class AbstractGOMElement
- See Also:
AtomParser.processAttribute(javax.xml.namespace.QName,
java.lang.String)
processEndElement
public void processEndElement()
- Description copied from class:
AbstractGOMElement
-
- Specified by:
processEndElement
in interface AtomParser
- Overrides:
processEndElement
in class AbstractGOMElement
- See Also:
AtomParser.processEndElement()
writeAtomOutput
public void writeAtomOutput(GOMOutputWriter aStreamWriter)
throws javax.xml.stream.XMLStreamException
- Description copied from interface:
GOMElement
- Generates the xml element represented by this class in the ATOM 1.0
formate.
- Specified by:
writeAtomOutput
in interface GOMElement
- Parameters:
aStreamWriter
- -
the GOMOutputWriter
implementation to write the output
- Throws:
javax.xml.stream.XMLStreamException
- -
if the GOMOutputWriter
throws an exception- See Also:
org.apache.lucene.gdata.gom.GOMElement#writeAtomOutput(org.apache.lucene.gdata.gom.writer.GOMStaxWriter)
writeRssOutput
public void writeRssOutput(GOMOutputWriter aStreamWriter)
throws javax.xml.stream.XMLStreamException
- Description copied from interface:
GOMElement
- Generates the xml element represented by this class in the RSS 2.0
formate.
- Specified by:
writeRssOutput
in interface GOMElement
- Parameters:
aStreamWriter
- -
the GOMOutputWriter
implementation to write the output
- Throws:
javax.xml.stream.XMLStreamException
- -
if the GOMOutputWriter
throws an exception- See Also:
org.apache.lucene.gdata.gom.GOMElement#writeRssOutput(org.apache.lucene.gdata.gom.writer.GOMStaxWriter)
getChildParser
public AtomParser getChildParser(javax.xml.namespace.QName aName)
- Description copied from class:
AbstractGOMElement
-
- Specified by:
getChildParser
in interface AtomParser
- Overrides:
getChildParser
in class AbstractGOMElement
- Returns:
- See Also:
AtomParser.getChildParser(javax.xml.namespace.QName)
Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.