public class SAXWriter extends Object
Constructor and Description |
---|
SAXWriter(OutputStream out,
boolean allowDBAccess) |
SAXWriter(StreamResult sr,
boolean allowDBAccess) |
SAXWriter(Writer out,
boolean allowDBAccess) |
public SAXWriter(OutputStream out, boolean allowDBAccess) throws TransformerConfigurationException, IllegalArgumentException, TransformerFactoryConfigurationError
public SAXWriter(Writer out, boolean allowDBAccess) throws TransformerConfigurationException, IllegalArgumentException, TransformerFactoryConfigurationError
public SAXWriter(StreamResult sr, boolean allowDBAccess) throws TransformerConfigurationException, IllegalArgumentException, TransformerFactoryConfigurationError
public void setIndenting(boolean b)
public void setMethod(String s)
public void setEncoding(String s)
protected void finalize() throws Throwable
public XMLWrapperElement getElement(String name)
public void write(XFTItem item, boolean _allowClear) throws FieldNotFoundException, SAXException
FieldNotFoundException
SAXException
public void write(XFTItem item) throws FieldNotFoundException, SAXException
FieldNotFoundException
SAXException
public String getRootName(XMLWrapperElement element, XFTItem item)
public void addAttributes(XFTItem child, org.xml.sax.helpers.AttributesImpl atts) throws SAXException, FieldNotFoundException
SAXException
FieldNotFoundException
public void addNoChildAttributes(XFTItem child, ArrayList children, org.xml.sax.helpers.AttributesImpl atts) throws SAXException, FieldNotFoundException
SAXException
FieldNotFoundException
public void addXMLNSAttributes(org.xml.sax.helpers.AttributesImpl atts, XMLWrapperElement element)
public void writeChildData(XFTItem child, String parentNodeName) throws SAXException, FieldNotFoundException
SAXException
FieldNotFoundException
public void writeChildField(XFTItem item, XMLWrapperField xmlField, String parentNodeName, boolean noChildParent) throws SAXException, FieldNotFoundException
SAXException
FieldNotFoundException
public boolean isAllowSchemaLocation()
public void setAllowSchemaLocation(boolean _allowSchemaLocation)
allowSchemaLocation
- The allowSchemaLocation to set.public boolean isLimited()
public void setLimited(boolean limited)
limited
- The limited to set.public String getLocation()
public void setLocation(String location)
location
- The location to set.public TransformerHandler getTransformer()
public void setTransformer(TransformerHandler transformer)
transformer
- The transformer to set.public boolean isAllowDBAccess()
public void setAllowDBAccess(boolean access)
access
- the _allowDBAccess to setpublic String getAppendRootPath()
public void setAppendRootPath(String appendRootPath)
appendRootPath
- the appendRootPath to setpublic String getRelativizePath()
public void setRelativizePath(String relativizePath)
relativizePath
- the relativizePath to setpublic boolean isWriteHiddenFields()
public void setWriteHiddenFields(boolean writeHiddenFields)
writeHiddenFields
- the writeHiddenFields to setCopyright © 2015 Neuroinformatics Research Group. All rights reserved.