Package com.sun.xml.rpc.wsdl.framework
Class WriterContext
- java.lang.Object
-
- com.sun.xml.rpc.wsdl.framework.WriterContext
-
public class WriterContext extends Object
The context used by writer classes.- Author:
- JAX-RPC Development Team
-
-
Constructor Summary
Constructors Constructor Description WriterContext(OutputStream os)
-
Method Summary
-
-
-
Constructor Detail
-
WriterContext
public WriterContext(OutputStream os) throws IOException
- Throws:
IOException
-
-
Method Detail
-
flush
public void flush() throws IOException- Throws:
IOException
-
close
public void close() throws IOException- Throws:
IOException
-
push
public void push()
-
pop
public void pop()
-
getPrefixes
public Iterator getPrefixes()
-
getDefaultNamespaceURI
public String getDefaultNamespaceURI()
-
getTargetNamespaceURI
public String getTargetNamespaceURI()
-
setTargetNamespaceURI
public void setTargetNamespaceURI(String uri)
-
writeStartTag
public void writeStartTag(QName name) throws IOException
- Throws:
IOException
-
writeEndTag
public void writeEndTag(QName name) throws IOException
- Throws:
IOException
-
writeAttribute
public void writeAttribute(String name, String value) throws IOException
- Throws:
IOException
-
writeAttribute
public void writeAttribute(String name, QName value) throws IOException
- Throws:
IOException
-
writeAttribute
public void writeAttribute(String name, boolean value) throws IOException
- Throws:
IOException
-
writeAttribute
public void writeAttribute(String name, Boolean value) throws IOException
- Throws:
IOException
-
writeAttribute
public void writeAttribute(String name, int value) throws IOException
- Throws:
IOException
-
writeAttribute
public void writeAttribute(String name, Object value, Map valueToXmlMap) throws IOException
- Throws:
IOException
-
writeNamespaceDeclaration
public void writeNamespaceDeclaration(String prefix, String uri) throws IOException
- Throws:
IOException
-
writeAllPendingNamespaceDeclarations
public void writeAllPendingNamespaceDeclarations() throws IOException- Throws:
IOException
-
writeTag
public void writeTag(QName name, String value) throws IOException
- Throws:
IOException
-
-