org.apache.ws.jaxme.js.beanreader
public class BeanSchemaWriter extends Object
Constructor Summary | |
---|---|
BeanSchemaWriter(BeanInfoFactory pFactory) Creates a new instance. |
Method Summary | |
---|---|
boolean | isFiringStartDocument() Returns, whether the bean schema writer is firing the
{@link ContentHandler#startDocument()}, and
{@link ContentHandler#endDocument()} events. |
boolean | isFiringXmlnsAttributes() Returns, whether XML namespace declarations are fired not
only as {@link ContentHandler#startPrefixMapping(String, String)}
as events, but as attributes in
{@link ContentHandler#startElement(String, String, String, org.xml.sax.Attributes)}
events as well. |
void | setFiringStartDocument(boolean pIsFiringStartDocument) Sets, whether the bean schema writer is firing the
{@link ContentHandler#startDocument()}, and
{@link ContentHandler#endDocument()} events. |
void | setFiringXmlnsAttributes(boolean pFiringXmlnsAttributes) Sets, whether XML namespace declarations are fired not
only as {@link ContentHandler#startPrefixMapping(String, String)}
as events, but as attributes in
{@link ContentHandler#startElement(String, String, String, org.xml.sax.Attributes)}
events as well. |
void | write(BeanInfo pBeanInfo, ContentHandler pHandler) Writes the XML schema to the given content handler. |
protected void | writeElement(ContentHandler pHandler, BeanInfo pBeanInfo) |
Throws: SAXException Invoking the target handler failed.