public class IndentingXMLStreamWriter extends Object
コンストラクタと説明 |
---|
IndentingXMLStreamWriter(XMLStreamWriter writer) |
public IndentingXMLStreamWriter(XMLStreamWriter writer)
public int getIndentStep()
Return the current indent step: each start tag will be indented by this number of spaces times the number of ancestors that the element has.
setIndentStep(int)
public void setIndentStep(int indentStep)
indentStep
- The new indent step (0 or less for no indentation).getIndentStep()
public void setIndentStep(String s)
public void writeStartDocument() throws XMLStreamException
writeStartDocument
インタフェース内 XMLStreamWriter
XMLStreamException
public void writeStartDocument(String version) throws XMLStreamException
writeStartDocument
インタフェース内 XMLStreamWriter
XMLStreamException
public void writeStartDocument(String encoding, String version) throws XMLStreamException
writeStartDocument
インタフェース内 XMLStreamWriter
XMLStreamException
public void writeStartElement(String localName) throws XMLStreamException
writeStartElement
インタフェース内 XMLStreamWriter
XMLStreamException
public void writeStartElement(String namespaceURI, String localName) throws XMLStreamException
writeStartElement
インタフェース内 XMLStreamWriter
XMLStreamException
public void writeStartElement(String prefix, String localName, String namespaceURI) throws XMLStreamException
writeStartElement
インタフェース内 XMLStreamWriter
XMLStreamException
public void writeEmptyElement(String namespaceURI, String localName) throws XMLStreamException
writeEmptyElement
インタフェース内 XMLStreamWriter
XMLStreamException
public void writeEmptyElement(String prefix, String localName, String namespaceURI) throws XMLStreamException
writeEmptyElement
インタフェース内 XMLStreamWriter
XMLStreamException
public void writeEmptyElement(String localName) throws XMLStreamException
writeEmptyElement
インタフェース内 XMLStreamWriter
XMLStreamException
public void writeEndElement() throws XMLStreamException
writeEndElement
インタフェース内 XMLStreamWriter
XMLStreamException
public void writeCharacters(String text) throws XMLStreamException
writeCharacters
インタフェース内 XMLStreamWriter
XMLStreamException
public void writeCharacters(char[] text, int start, int len) throws XMLStreamException
writeCharacters
インタフェース内 XMLStreamWriter
XMLStreamException
public void writeCData(String data) throws XMLStreamException
writeCData
インタフェース内 XMLStreamWriter
XMLStreamException
public void writeEndDocument() throws XMLStreamException
writeEndDocument
インタフェース内 XMLStreamWriter
XMLStreamException
public void close() throws XMLStreamException
close
インタフェース内 XMLStreamWriter
XMLStreamException
public void flush() throws XMLStreamException
flush
インタフェース内 XMLStreamWriter
XMLStreamException
public void writeAttribute(String localName, String value) throws XMLStreamException
writeAttribute
インタフェース内 XMLStreamWriter
XMLStreamException
public void writeAttribute(String prefix, String namespaceURI, String localName, String value) throws XMLStreamException
writeAttribute
インタフェース内 XMLStreamWriter
XMLStreamException
public void writeAttribute(String namespaceURI, String localName, String value) throws XMLStreamException
writeAttribute
インタフェース内 XMLStreamWriter
XMLStreamException
public void writeNamespace(String prefix, String namespaceURI) throws XMLStreamException
writeNamespace
インタフェース内 XMLStreamWriter
XMLStreamException
public void writeDefaultNamespace(String namespaceURI) throws XMLStreamException
writeDefaultNamespace
インタフェース内 XMLStreamWriter
XMLStreamException
public void writeComment(String data) throws XMLStreamException
writeComment
インタフェース内 XMLStreamWriter
XMLStreamException
public void writeProcessingInstruction(String target) throws XMLStreamException
writeProcessingInstruction
インタフェース内 XMLStreamWriter
XMLStreamException
public void writeProcessingInstruction(String target, String data) throws XMLStreamException
writeProcessingInstruction
インタフェース内 XMLStreamWriter
XMLStreamException
public void writeDTD(String dtd) throws XMLStreamException
writeDTD
インタフェース内 XMLStreamWriter
XMLStreamException
public void writeEntityRef(String name) throws XMLStreamException
writeEntityRef
インタフェース内 XMLStreamWriter
XMLStreamException
public String getPrefix(String uri) throws XMLStreamException
getPrefix
インタフェース内 XMLStreamWriter
XMLStreamException
public void setPrefix(String prefix, String uri) throws XMLStreamException
setPrefix
インタフェース内 XMLStreamWriter
XMLStreamException
public void setDefaultNamespace(String uri) throws XMLStreamException
setDefaultNamespace
インタフェース内 XMLStreamWriter
XMLStreamException
public void setNamespaceContext(NamespaceContext context) throws XMLStreamException
setNamespaceContext
インタフェース内 XMLStreamWriter
XMLStreamException
public NamespaceContext getNamespaceContext()
getNamespaceContext
インタフェース内 XMLStreamWriter
public Object getProperty(String name) throws IllegalArgumentException
getProperty
インタフェース内 XMLStreamWriter
IllegalArgumentException
Copyright (c) 2016 NTT DATA INTRAMART CORPORATION.