public class StAXC14nCanonicalizerImpl extends BaseCanonicalizer implements XMLStreamWriter
BaseCanonicalizer.NamespaceContextImpl| Modifier and Type | Field and Description |
|---|---|
protected UnsyncByteArrayOutputStream |
elemBuffer |
_attrResult, _attrs, _nsAttrs, _nsResult, initalCacheSize| Constructor and Description |
|---|
StAXC14nCanonicalizerImpl()
Creates a new instance of StAXC14nCanonicalizerImpl
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
This method has not effect when called.
|
protected void |
closeStartTag() |
void |
flush() |
protected StAXAttr |
getAttribute() |
NamespaceContext |
getNamespaceContext() |
NamespaceSupport |
getNSContext() |
String |
getPrefix(String namespaceURI) |
Object |
getProperty(String str) |
protected void |
resizeElementStack() |
void |
setDefaultNamespace(String str) |
void |
setNamespaceContext(NamespaceContext namespaceContext) |
void |
setPrefix(String str,
String str1) |
void |
writeAttribute(String localName,
String value)
Creates a DOM Atrribute @see org.w3c.dom.Node and associates it with the current DOM element @see org.w3c.dom.Node.
|
void |
writeAttribute(String namespaceURI,
String localName,
String value) |
void |
writeAttribute(String prefix,
String namespaceURI,
String localName,
String value) |
protected void |
writeAttributes(List itr) |
void |
writeCData(String data) |
void |
writeCharacters(char[] values,
int param,
int param2) |
void |
writeCharacters(String charData) |
void |
writeComment(String str) |
void |
writeDefaultNamespace(String namespaceURI) |
void |
writeDTD(String str) |
void |
writeEmptyElement(String localName) |
void |
writeEmptyElement(String namespaceURI,
String localName) |
void |
writeEmptyElement(String prefix,
String localName,
String namespaceURI) |
void |
writeEndDocument() |
void |
writeEndElement() |
void |
writeEntityRef(String str) |
void |
writeNamespace(String prefix,
String namespaceURI) |
void |
writeProcessingInstruction(String target) |
void |
writeProcessingInstruction(String target,
String data) |
void |
writeStartDocument() |
void |
writeStartDocument(String version) |
void |
writeStartDocument(String encoding,
String version) |
void |
writeStartElement(String localName) |
void |
writeStartElement(String namespaceURI,
String localName) |
void |
writeStartElement(String prefix,
String localName,
String namespaceURI) |
addParentNamespaces, getAttributeNS, getOutputStream, namespaceIsAbsolute, namespaceIsRelative, reset, resize, setStream, sort, writeAttributes, writeAttributesNSprotected UnsyncByteArrayOutputStream elemBuffer
public StAXC14nCanonicalizerImpl()
public void close()
throws XMLStreamException
close in interface XMLStreamWriterjavax.xml._stream.XMLStreamExceptionXMLStreamExceptionpublic void flush()
throws XMLStreamException
flush in interface XMLStreamWriterXMLStreamExceptionpublic NamespaceContext getNamespaceContext()
getNamespaceContext in interface XMLStreamWriterpublic NamespaceSupport getNSContext()
public String getPrefix(String namespaceURI) throws XMLStreamException
getPrefix in interface XMLStreamWriterXMLStreamExceptionpublic Object getProperty(String str) throws IllegalArgumentException
getProperty in interface XMLStreamWriterIllegalArgumentExceptionpublic void setDefaultNamespace(String str) throws XMLStreamException
setDefaultNamespace in interface XMLStreamWriterXMLStreamExceptionpublic void setNamespaceContext(NamespaceContext namespaceContext) throws XMLStreamException
setNamespaceContext in interface XMLStreamWriterXMLStreamExceptionpublic void setPrefix(String str, String str1) throws XMLStreamException
setPrefix in interface XMLStreamWriterXMLStreamExceptionpublic void writeAttribute(String localName, String value) throws XMLStreamException
writeAttribute in interface XMLStreamWriterlocalName - value - javax.xml._stream.XMLStreamExceptionXMLStreamExceptionpublic void writeAttribute(String namespaceURI, String localName, String value) throws XMLStreamException
writeAttribute in interface XMLStreamWriterXMLStreamExceptionpublic void writeAttribute(String prefix, String namespaceURI, String localName, String value) throws XMLStreamException
writeAttribute in interface XMLStreamWriterXMLStreamExceptionpublic void writeCData(String data) throws XMLStreamException
writeCData in interface XMLStreamWriterXMLStreamExceptionpublic void writeCharacters(String charData) throws XMLStreamException
writeCharacters in interface XMLStreamWriterXMLStreamExceptionpublic void writeCharacters(char[] values,
int param,
int param2)
throws XMLStreamException
writeCharacters in interface XMLStreamWriterXMLStreamExceptionpublic void writeComment(String str) throws XMLStreamException
writeComment in interface XMLStreamWriterXMLStreamExceptionpublic void writeDTD(String str) throws XMLStreamException
writeDTD in interface XMLStreamWriterXMLStreamExceptionpublic void writeDefaultNamespace(String namespaceURI) throws XMLStreamException
writeDefaultNamespace in interface XMLStreamWriterXMLStreamExceptionpublic void writeEmptyElement(String localName) throws XMLStreamException
writeEmptyElement in interface XMLStreamWriterXMLStreamExceptionpublic void writeEmptyElement(String namespaceURI, String localName) throws XMLStreamException
writeEmptyElement in interface XMLStreamWriterXMLStreamExceptionpublic void writeEmptyElement(String prefix, String localName, String namespaceURI) throws XMLStreamException
writeEmptyElement in interface XMLStreamWriterXMLStreamExceptionpublic void writeEndDocument()
throws XMLStreamException
writeEndDocument in interface XMLStreamWriterXMLStreamExceptionpublic void writeEndElement()
throws XMLStreamException
writeEndElement in interface XMLStreamWriterXMLStreamExceptionpublic void writeEntityRef(String str) throws XMLStreamException
writeEntityRef in interface XMLStreamWriterXMLStreamExceptionpublic void writeNamespace(String prefix, String namespaceURI) throws XMLStreamException
writeNamespace in interface XMLStreamWriterXMLStreamExceptionpublic void writeProcessingInstruction(String target) throws XMLStreamException
writeProcessingInstruction in interface XMLStreamWriterXMLStreamExceptionpublic void writeProcessingInstruction(String target, String data) throws XMLStreamException
writeProcessingInstruction in interface XMLStreamWriterXMLStreamExceptionpublic void writeStartDocument()
throws XMLStreamException
writeStartDocument in interface XMLStreamWriterXMLStreamExceptionpublic void writeStartDocument(String version) throws XMLStreamException
writeStartDocument in interface XMLStreamWriterXMLStreamExceptionpublic void writeStartDocument(String encoding, String version) throws XMLStreamException
writeStartDocument in interface XMLStreamWriterXMLStreamExceptionpublic void writeStartElement(String localName) throws XMLStreamException
writeStartElement in interface XMLStreamWriterXMLStreamExceptionpublic void writeStartElement(String namespaceURI, String localName) throws XMLStreamException
writeStartElement in interface XMLStreamWriterXMLStreamExceptionpublic void writeStartElement(String prefix, String localName, String namespaceURI) throws XMLStreamException
writeStartElement in interface XMLStreamWriterXMLStreamExceptionprotected void closeStartTag()
throws XMLStreamException
XMLStreamExceptionprotected StAXAttr getAttribute()
protected void resizeElementStack()
protected void writeAttributes(List itr) throws IOException
IOExceptionCopyright © 2005–2018 Oracle Corporation. All rights reserved.