FileDocCategorySizeDatePackage
GOMOutputWriter.javaAPI DocApache Lucene 2.1.05274Wed Feb 14 10:46:00 GMT 2007org.apache.lucene.gdata.gom.writer

GOMOutputWriter

public interface GOMOutputWriter
author
Simon Willnauer

Fields Summary
Constructors Summary
Methods Summary
public abstract voidclose()
Closes the GOM Writer

throws
XMLStreamException

public abstract voidflush()
Flush the GOMWriter

throws
XMLStreamException

public abstract voidwriteAttribute(org.apache.lucene.gdata.gom.GOMAttribute attribute)
writes a attribute with the attribute namespace Uri

param
attribute - the attribute
throws
XMLStreamException - if a write exception occurs

public abstract voidwriteContent(java.lang.String aContent)

param
aContent
throws
XMLStreamException

public abstract voidwriteContentUnescaped(java.lang.String aContent)

param
aContent
throws
XMLStreamException

public abstract voidwriteDefaultNamespace(org.apache.lucene.gdata.gom.GOMNamespace aNameSpace)

param
aNameSpace
throws
XMLStreamException

public abstract voidwriteEndDocument()
Writes a end element tag according to the start element tag

throws
XMLStreamException - if no start tag has been written or the element stack points to a different element

public abstract voidwriteEndElement()

throws
XMLStreamException

public abstract voidwriteNamespace(org.apache.lucene.gdata.gom.GOMNamespace aNameSpace)

param
aNameSpace
throws
XMLStreamException

public abstract voidwriteSimpleXMLElement(javax.xml.namespace.QName aName, java.util.List aList, java.lang.String aValue)
Writes a simple element with full namespace

param
aName - element QName
param
aList - attribute list
param
aValue - character value
throws
XMLStreamException - if a write exception occurs

public abstract voidwriteSimpleXMLElement(javax.xml.namespace.QName aName, java.lang.String aValue, org.apache.lucene.gdata.gom.GOMAttribute aAttribute)
Writes a simple element with full namespace

param
aName - element QName
param
aAttribute - attribute
param
aValue - character value
throws
XMLStreamException - if a write exception occurs

public abstract voidwriteSimpleXMLElement(java.lang.String aName, java.lang.String aValue, org.apache.lucene.gdata.gom.GOMAttribute aAttribute)
Writes a simple element with full namespace

param
aName - the local name of the element
param
aAttribute - attribute
param
aValue - character value
throws
XMLStreamException - if a write exception occurs

public abstract voidwriteSimpleXMLElement(java.lang.String aName, java.util.List aList, java.lang.String aValue)
Writes a simple element with default namespace

param
aName - elements name
param
aList - attribute list
param
aValue - character value
throws
XMLStreamException - if a write exception occurs

public abstract voidwriteStartDocument(java.lang.String aString, java.lang.String aString2)

param
aString
param
aString2
throws
XMLStreamException

public abstract voidwriteStartElement(java.lang.String aName, java.util.List aList)

param
aName
param
aList
throws
XMLStreamException

public abstract voidwriteStartElement(java.lang.String aName, org.apache.lucene.gdata.gom.GOMAttribute aAttribute)

param
aName
param
aAttribute
throws
XMLStreamException

public abstract voidwriteStartElement(java.lang.String aName)

param
aName
throws
XMLStreamException

public abstract voidwriteStartElement(javax.xml.namespace.QName aName, java.util.List aList)

param
aName
param
aList
throws
XMLStreamException