com.sun.xml.wss.impl.c14n
Class StAXC14nCanonicalizerImpl
java.lang.Object
com.sun.xml.wss.impl.c14n.BaseCanonicalizer
com.sun.xml.wss.impl.c14n.StAXC14nCanonicalizerImpl
- All Implemented Interfaces:
- XMLStreamWriter
- Direct Known Subclasses:
- StAXEXC14nCanonicalizerImpl
public class StAXC14nCanonicalizerImpl
- extends BaseCanonicalizer
- implements XMLStreamWriter
- Author:
- K.Venugopal@sun.com
|
Method Summary |
void |
close()
This method has not effect when called. |
protected void |
closeStartTag()
|
void |
flush()
|
protected StAXAttr |
getAttribute()
|
NamespaceContext |
getNamespaceContext()
|
org.xml.sax.helpers.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)
|
| Methods inherited from class com.sun.xml.wss.impl.c14n.BaseCanonicalizer |
addParentNamespaces, getAttributeNS, getOutputStream, namespaceIsAbsolute, namespaceIsRelative, reset, resize, setStream, sort, writeAttributes, writeAttributesNS |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
elemBuffer
protected UnsyncByteArrayOutputStream elemBuffer
StAXC14nCanonicalizerImpl
public StAXC14nCanonicalizerImpl()
- Creates a new instance of StAXC14nCanonicalizerImpl
close
public void close()
throws XMLStreamException
- This method has not effect when called.
- Specified by:
close in interface XMLStreamWriter
- Throws:
javax.xml._stream.XMLStreamException
XMLStreamException
flush
public void flush()
throws XMLStreamException
- Specified by:
flush in interface XMLStreamWriter
- Throws:
XMLStreamException
getNamespaceContext
public NamespaceContext getNamespaceContext()
- Specified by:
getNamespaceContext in interface XMLStreamWriter
getNSContext
public org.xml.sax.helpers.NamespaceSupport getNSContext()
getPrefix
public String getPrefix(String namespaceURI)
throws XMLStreamException
- Specified by:
getPrefix in interface XMLStreamWriter
- Throws:
XMLStreamException
getProperty
public Object getProperty(String str)
throws IllegalArgumentException
- Specified by:
getProperty in interface XMLStreamWriter
- Throws:
IllegalArgumentException
setDefaultNamespace
public void setDefaultNamespace(String str)
throws XMLStreamException
- Specified by:
setDefaultNamespace in interface XMLStreamWriter
- Throws:
XMLStreamException
setNamespaceContext
public void setNamespaceContext(NamespaceContext namespaceContext)
throws XMLStreamException
- Specified by:
setNamespaceContext in interface XMLStreamWriter
- Throws:
XMLStreamException
setPrefix
public void setPrefix(String str,
String str1)
throws XMLStreamException
- Specified by:
setPrefix in interface XMLStreamWriter
- Throws:
XMLStreamException
writeAttribute
public void writeAttribute(String localName,
String value)
throws XMLStreamException
- Creates a DOM Atrribute @see org.w3c.dom.Node and associates it with the current DOM element @see org.w3c.dom.Node.
- Specified by:
writeAttribute in interface XMLStreamWriter
- Parameters:
localName - value -
- Throws:
javax.xml._stream.XMLStreamException
XMLStreamException
writeAttribute
public void writeAttribute(String namespaceURI,
String localName,
String value)
throws XMLStreamException
- Specified by:
writeAttribute in interface XMLStreamWriter
- Throws:
XMLStreamException
writeAttribute
public void writeAttribute(String prefix,
String namespaceURI,
String localName,
String value)
throws XMLStreamException
- Specified by:
writeAttribute in interface XMLStreamWriter
- Throws:
XMLStreamException
writeCData
public void writeCData(String data)
throws XMLStreamException
- Specified by:
writeCData in interface XMLStreamWriter
- Throws:
XMLStreamException
writeCharacters
public void writeCharacters(String charData)
throws XMLStreamException
- Specified by:
writeCharacters in interface XMLStreamWriter
- Throws:
XMLStreamException
writeCharacters
public void writeCharacters(char[] values,
int param,
int param2)
throws XMLStreamException
- Specified by:
writeCharacters in interface XMLStreamWriter
- Throws:
XMLStreamException
writeComment
public void writeComment(String str)
throws XMLStreamException
- Specified by:
writeComment in interface XMLStreamWriter
- Throws:
XMLStreamException
writeDTD
public void writeDTD(String str)
throws XMLStreamException
- Specified by:
writeDTD in interface XMLStreamWriter
- Throws:
XMLStreamException
writeDefaultNamespace
public void writeDefaultNamespace(String namespaceURI)
throws XMLStreamException
- Specified by:
writeDefaultNamespace in interface XMLStreamWriter
- Throws:
XMLStreamException
writeEmptyElement
public void writeEmptyElement(String localName)
throws XMLStreamException
- Specified by:
writeEmptyElement in interface XMLStreamWriter
- Throws:
XMLStreamException
writeEmptyElement
public void writeEmptyElement(String namespaceURI,
String localName)
throws XMLStreamException
- Specified by:
writeEmptyElement in interface XMLStreamWriter
- Throws:
XMLStreamException
writeEmptyElement
public void writeEmptyElement(String prefix,
String localName,
String namespaceURI)
throws XMLStreamException
- Specified by:
writeEmptyElement in interface XMLStreamWriter
- Throws:
XMLStreamException
writeEndDocument
public void writeEndDocument()
throws XMLStreamException
- Specified by:
writeEndDocument in interface XMLStreamWriter
- Throws:
XMLStreamException
writeEndElement
public void writeEndElement()
throws XMLStreamException
- Specified by:
writeEndElement in interface XMLStreamWriter
- Throws:
XMLStreamException
writeEntityRef
public void writeEntityRef(String str)
throws XMLStreamException
- Specified by:
writeEntityRef in interface XMLStreamWriter
- Throws:
XMLStreamException
writeNamespace
public void writeNamespace(String prefix,
String namespaceURI)
throws XMLStreamException
- Specified by:
writeNamespace in interface XMLStreamWriter
- Throws:
XMLStreamException
writeProcessingInstruction
public void writeProcessingInstruction(String target)
throws XMLStreamException
- Specified by:
writeProcessingInstruction in interface XMLStreamWriter
- Throws:
XMLStreamException
writeProcessingInstruction
public void writeProcessingInstruction(String target,
String data)
throws XMLStreamException
- Specified by:
writeProcessingInstruction in interface XMLStreamWriter
- Throws:
XMLStreamException
writeStartDocument
public void writeStartDocument()
throws XMLStreamException
- Specified by:
writeStartDocument in interface XMLStreamWriter
- Throws:
XMLStreamException
writeStartDocument
public void writeStartDocument(String version)
throws XMLStreamException
- Specified by:
writeStartDocument in interface XMLStreamWriter
- Throws:
XMLStreamException
writeStartDocument
public void writeStartDocument(String encoding,
String version)
throws XMLStreamException
- Specified by:
writeStartDocument in interface XMLStreamWriter
- Throws:
XMLStreamException
writeStartElement
public void writeStartElement(String localName)
throws XMLStreamException
- Specified by:
writeStartElement in interface XMLStreamWriter
- Throws:
XMLStreamException
writeStartElement
public void writeStartElement(String namespaceURI,
String localName)
throws XMLStreamException
- Specified by:
writeStartElement in interface XMLStreamWriter
- Throws:
XMLStreamException
writeStartElement
public void writeStartElement(String prefix,
String localName,
String namespaceURI)
throws XMLStreamException
- Specified by:
writeStartElement in interface XMLStreamWriter
- Throws:
XMLStreamException
closeStartTag
protected void closeStartTag()
throws XMLStreamException
- Throws:
XMLStreamException
getAttribute
protected StAXAttr getAttribute()
resizeElementStack
protected void resizeElementStack()
writeAttributes
protected void writeAttributes(List itr)
throws IOException
- Throws:
IOException
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.