StreamWriterBase, which
implements basic namespace-aware, non repairing functionality.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected String | _serializeQName(QName name)
Implements abstract com. |
| public void | _setPrefix(String prefix, String uri)
Implements abstract com. |
| public void | setDefaultNamespace(String
the uri to bind to the default namespace, may be null uri)Implements abstract com. Implements javax. |
| public void | writeAttribute(String
the uri of the prefix for this attribute nsURI, String the local name of the attribute localName, String the value of the attribute value)Implements abstract com. Implements javax. |
| public void | writeAttribute(String
the prefix for this attribute prefix, String the uri of the prefix for this attribute nsURI, String the local name of the attribute localName, String the value of the attribute value)Implements abstract com. Implements javax. |
| public void | writeDefaultNamespace(String
the uri to bind the default namespace to nsURI)Implements abstract com. Implements javax. |
| public void | writeEmptyElement(String
the uri to bind the tag to, may not be null nsURI, String local name of the tag, may not be null localName)Implements abstract com. Implements javax. |
| public void | writeEmptyElement(String
the prefix of the tag, may not be null prefix, String local name of the tag, may not be null localName, String the uri to bind the tag to, may not be null nsURI)Implements abstract com. Implements javax. |
| public void | writeNamespace(String
the prefix to bind this namespace to prefix, String the uri to bind the prefix to nsURI)Implements abstract com. Implements javax. |
| public void | writeStartElement(String
the namespaceURI of the prefix to use, may not be null nsURI, String local name of the tag, may not be null localName)Implements abstract com. Implements javax. |
| public void | writeStartElement(String
the prefix of the tag, may not be null prefix, String local name of the tag, may not be null localName, String the uri to bind the prefix to, may not be null nsURI)Implements abstract com. Implements javax. |
| public void | writeTypedAttribute(String prefix, String nsURI, String localName, AsciiValueEncoder enc)
Implements abstract com. |
| NonRepairingStreamWriter | back to summary |
|---|---|
| public NonRepairingStreamWriter(WriterConfig cfg, XmlWriter writer, WNameTable symbols) | |
| _serializeQName | back to summary |
|---|---|
| protected String _serializeQName(QName name) Implements abstract com.
| |
| _setPrefix | back to summary |
|---|---|
| public void _setPrefix(String prefix, String uri) Implements abstract com.
| |
| setDefaultNamespace | back to summary |
|---|---|
| public void setDefaultNamespace(String uri) throws XMLStreamException Implements abstract com. Implements javax. Doc from javax. Binds a URI to the default namespace This URI is bound in the scope of the current START_ELEMENT / END_ELEMENT pair. If this method is called before a START_ELEMENT has been written the uri is bound in the root scope.
| |
| writeAttribute | back to summary |
|---|---|
| public void writeAttribute(String nsURI, String localName, String value) throws XMLStreamException Implements abstract com. Implements javax. Doc from javax. Writes an attribute to the output stream
| |
| writeAttribute | back to summary |
|---|---|
| public void writeAttribute(String prefix, String nsURI, String localName, String value) throws XMLStreamException Implements abstract com. Implements javax. Doc from javax. Writes an attribute to the output stream
| |
| writeDefaultNamespace | back to summary |
|---|---|
| public void writeDefaultNamespace(String nsURI) throws XMLStreamException Implements abstract com. Implements javax. Doc from javax. Writes the default namespace to the stream
| |
| writeEmptyElement | back to summary |
|---|---|
| public void writeEmptyElement(String nsURI, String localName) throws XMLStreamException Implements abstract com. Implements javax. Doc from javax. Writes an empty element tag to the output
| |
| writeEmptyElement | back to summary |
|---|---|
| public void writeEmptyElement(String prefix, String localName, String nsURI) throws XMLStreamException Implements abstract com. Implements javax. Doc from javax. Writes an empty element tag to the output
| |
| writeNamespace | back to summary |
|---|---|
| public void writeNamespace(String prefix, String nsURI) throws XMLStreamException Implements abstract com. Implements javax. Doc from javax. Writes a namespace to the output stream If the prefix argument to this method is the empty string, "xmlns", or null this method will delegate to writeDefaultNamespace
| |
| writeStartElement | back to summary |
|---|---|
| public void writeStartElement(String nsURI, String localName) throws XMLStreamException Implements abstract com. Implements javax. Doc from javax. Writes a start tag to the output
| |
| writeStartElement | back to summary |
|---|---|
| public void writeStartElement(String prefix, String localName, String nsURI) throws XMLStreamException Implements abstract com. Implements javax. Doc from javax. Writes a start tag to the output
| |
| writeTypedAttribute | back to summary |
|---|---|
| public void writeTypedAttribute(String prefix, String nsURI, String localName, AsciiValueEncoder enc) throws XMLStreamException Implements abstract com. Doc from com. Need to leave implementation of this method abstract, because repairing and non-repairing modes differ in how names are handled.
| |