Methods Summary |
---|
public void | close()
this.writer.close();
|
public void | flush()
this.writer.flush();
|
public void | writeAttribute(org.apache.lucene.gdata.gom.GOMAttribute attribute)
if (attribute.hasDefaultNamespace())
this.writer.writeAttribute(attribute.getLocalName(), attribute
.getTextValue());
else
this.writer.writeAttribute(attribute.getQname().getPrefix(),
attribute.getQname().getNamespaceURI(), attribute
.getLocalName(), attribute.getTextValue());
|
public void | writeContent(java.lang.String aContent)
if (aContent != null) {
char[] cs = aContent.toCharArray();
this.writer.writeCharacters(cs, 0, cs.length);
}
|
public void | writeContentUnescaped(java.lang.String aContent)
if (aContent != null)
this.writer.writeCharacters(aContent);
|
public void | writeDefaultNamespace(java.lang.String aNsUri)
this.writer.writeDefaultNamespace(aNsUri);
|
public void | writeDefaultNamespace(org.apache.lucene.gdata.gom.GOMNamespace aNameSpace)
if (aNameSpace != null)
writeDefaultNamespace(aNameSpace.getNamespaceUri());
|
public void | writeEndDocument()
this.writer.writeEndDocument();
|
public void | writeEndElement()
this.writer.writeEndElement();
|
public void | writeNamespace(org.apache.lucene.gdata.gom.GOMNamespace aNameSpace)
if (aNameSpace == null)
return;
if (this.namespaceSet.contains(aNameSpace))
return;
this.namespaceSet.add(aNameSpace);
this.writer.writeNamespace(aNameSpace.getNamespacePrefix(), aNameSpace
.getNamespaceUri());
|
public void | writeSimpleXMLElement(javax.xml.namespace.QName aName, java.util.List aList, java.lang.String aValue)
writeStartElement(aName, aList);
writeContent(aValue);
this.writer.writeEndElement();
|
public void | writeSimpleXMLElement(javax.xml.namespace.QName aName, java.lang.String aValue, org.apache.lucene.gdata.gom.GOMAttribute aAttribute)
List<GOMAttribute> list = null;
if (aAttribute != null) {
list = new ArrayList<GOMAttribute>(1);
list.add(aAttribute);
}
writeSimpleXMLElement(aName, list, aValue);
|
public void | writeSimpleXMLElement(java.lang.String aName, java.lang.String aValue, org.apache.lucene.gdata.gom.GOMAttribute aAttribute)
List<GOMAttribute> list = null;
if (aAttribute != null) {
list = new ArrayList<GOMAttribute>(1);
list.add(aAttribute);
}
writeSimpleXMLElement(aName, list, aValue);
|
public void | writeSimpleXMLElement(java.lang.String aName, java.util.List aList, java.lang.String aValue)
writeStartElement(aName, aList);
writeContent(aValue);
this.writer.writeEndElement();
|
public void | writeStartDocument(java.lang.String aString, java.lang.String aString2)
this.writer.writeStartDocument(aString, aString2);
|
public void | writeStartElement(java.lang.String aName, org.apache.lucene.gdata.gom.GOMAttribute aAttribute)
this.writer.writeStartElement(aName);
writeAttribute(aAttribute);
|
public void | writeStartElement(java.lang.String aName)
this.writer.writeStartElement(aName);
|
public void | writeStartElement(javax.xml.namespace.QName aName, java.util.List aList)
this.writer.writeStartElement(aName.getPrefix(), aName.getLocalPart(),
aName.getNamespaceURI());
if (aList != null)
for (GOMAttribute attribute : aList) {
writeAttribute(attribute);
}
|
public void | writeStartElement(java.lang.String aName, java.util.List aList)
this.writer.writeStartElement(aName);
if (aList != null)
for (GOMAttribute attribute : aList) {
writeAttribute(attribute);
}
|