| java.lang.Object org.apache.commons.betwixt.io.AbstractBeanWriter org.apache.commons.betwixt.io.SAXBeanWriter
SAXBeanWriter | public SAXBeanWriter(ContentHandler contentHandler)(Code) | | Constructor sets writer used for output.
Parameters: contentHandler - feed events to this content handler |
endElement | protected void endElement(WriteContext context, String uri, String localName, String qName) throws SAXException(Code) | | Writes the end tag for an element
Parameters: uri - the element's namespace uri Parameters: localName - the element's local name Parameters: qName - the element's qualified name throws: SAXException - if an SAX problem occurs during writing since: 0.5 |
getCallDocumentEvents | public boolean getCallDocumentEvents()(Code) | | Should document events (ie start and end) be called?
true if this SAXWriter should call start and end of the content handler since: 0.5 |
getLog | public Log getLog()(Code) | | Set the log implementation used.
Log implementation that this class logs to |
setCallDocumentEvents | public void setCallDocumentEvents(boolean callDocumentEvents)(Code) | | Sets whether the document events (ie start and end) should be called.
Parameters: callDocumentEvents - should document events be called since: 0.5 |
setLog | public void setLog(Log log)(Code) | | Set the log implementation used.
Parameters: log - Log implementation to use |
startElement | protected void startElement(WriteContext context, String uri, String localName, String qName, Attributes attributes) throws SAXException(Code) | | Writes the start tag for an element.
Parameters: uri - the element's namespace uri Parameters: localName - the element's local name Parameters: qName - the element's qualified name Parameters: attributes - the element's attributes throws: SAXException - if an SAX problem occurs during writing since: 0.5 |
Methods inherited from org.apache.commons.betwixt.io.AbstractBeanWriter | protected void bodyText(WriteContext context, String text) throws IOException, SAXException(Code)(Java Doc) protected void bodyText(String text) throws IOException, SAXException(Code)(Java Doc) public void end() throws IOException, SAXException(Code)(Java Doc) protected void endElement(WriteContext context, String uri, String localName, String qName) throws IOException, SAXException(Code)(Java Doc) protected void endElement(String uri, String localName, String qName) throws IOException, SAXException(Code)(Java Doc) protected void expressAttribute(String qualifiedName, String value) throws IOException, SAXException(Code)(Java Doc) protected void expressAttribute(String namespaceUri, String localName, String qualifiedName, String value) throws IOException, SAXException(Code)(Java Doc) protected void expressBodyText(String text) throws IOException, SAXException(Code)(Java Doc) protected void expressElementEnd(String qualifiedName) throws IOException, SAXException(Code)(Java Doc) protected void expressElementEnd(String uri, String localName, String qualifiedName) throws IOException, SAXException(Code)(Java Doc) protected void expressElementEnd() throws IOException, SAXException(Code)(Java Doc) protected void expressElementStart(String qualifiedName) throws IOException, SAXException(Code)(Java Doc) protected void expressElementStart(String uri, String localName, String qualifiedName) throws IOException, SAXException(Code)(Java Doc) protected void expressTagClose() throws IOException, SAXException(Code)(Java Doc) final public Log getAbstractBeanWriterLog()(Code)(Java Doc) public BindingConfiguration getBindingConfiguration()(Code)(Java Doc) public IDGenerator getIdGenerator()(Code)(Java Doc) protected int getIndentLevel()(Code)(Java Doc) public boolean getWriteEmptyElements()(Code)(Java Doc) public boolean getWriteIDs()(Code)(Java Doc) public XMLIntrospector getXMLIntrospector()(Code)(Java Doc) protected Object popBean()(Code)(Java Doc) protected void pushBean(Object bean)(Code)(Java Doc) final public void setAbstractBeanWriterLog(Log log)(Code)(Java Doc) public void setBindingConfiguration(BindingConfiguration bindingConfiguration)(Code)(Java Doc) public void setIdGenerator(IDGenerator idGenerator)(Code)(Java Doc) public void setWriteEmptyElements(boolean writeEmptyElements)(Code)(Java Doc) public void setWriteIDs(boolean writeIDs)(Code)(Java Doc) public void setXMLIntrospector(XMLIntrospector introspector)(Code)(Java Doc) public void start() throws IOException, SAXException(Code)(Java Doc) protected void startElement(WriteContext context, String uri, String localName, String qName, Attributes attr) throws IOException, SAXException(Code)(Java Doc) protected void startElement(String uri, String localName, String qName, Attributes attr) throws IOException, SAXException(Code)(Java Doc) public void write(Object bean) throws IOException, SAXException, IntrospectionException(Code)(Java Doc) public void write(String qualifiedName, Object bean) throws IOException, SAXException, IntrospectionException(Code)(Java Doc) public void write(Object bean, InputSource source) throws IOException, SAXException, IntrospectionException(Code)(Java Doc) protected void write(String qualifiedName, ElementDescriptor elementDescriptor, Context context) throws IOException, SAXException, IntrospectionException(Code)(Java Doc) protected void write(String qualifiedName, ElementDescriptor elementDescriptor, Context context, String idAttribute, String idValue) throws IOException, SAXException, IntrospectionException(Code)(Java Doc) protected void writeAttribute(AttributeDescriptor attributeDescriptor, Context context) throws IOException, SAXException(Code)(Java Doc) protected void writeAttributes(ElementDescriptor elementDescriptor, Context context) throws IOException, SAXException(Code)(Java Doc) protected boolean writeContent(ElementDescriptor elementDescriptor, Context context) throws IOException, SAXException, IntrospectionException(Code)(Java Doc) protected void writeIDREFElement(String qualifiedName, String idrefAttributeName, String idrefAttributeValue) throws IOException, SAXException, IntrospectionException(Code)(Java Doc) protected void writeIndent() throws IOException(Code)(Java Doc) protected void writePrintln() throws IOException(Code)(Java Doc) protected void writeRestOfElement(String qualifiedName, ElementDescriptor elementDescriptor, Context context) throws IOException, SAXException, IntrospectionException(Code)(Java Doc)
|
|
|