Package com.sun.xml.ws.streaming
Class TidyXMLStreamReader
- java.lang.Object
-
- com.sun.xml.ws.util.xml.XMLStreamReaderFilter
-
- com.sun.xml.ws.streaming.TidyXMLStreamReader
-
- All Implemented Interfaces:
XMLStreamReaderFactory.RecycleAware,XMLStreamConstants,XMLStreamReader
public class TidyXMLStreamReader extends XMLStreamReaderFilter
Wrapper over XMLStreamReader. It will be used primarily to clean up the resources such as closure on InputStream/Reader.- Author:
- Vivek Pandey
-
-
Field Summary
-
Fields inherited from class com.sun.xml.ws.util.xml.XMLStreamReaderFilter
reader
-
Fields inherited from interface javax.xml.stream.XMLStreamConstants
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
-
-
Constructor Summary
Constructors Constructor Description TidyXMLStreamReader(XMLStreamReader reader, Closeable closeableSource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()-
Methods inherited from class com.sun.xml.ws.util.xml.XMLStreamReaderFilter
getAttributeCount, getAttributeLocalName, getAttributeName, getAttributeNamespace, getAttributePrefix, getAttributeType, getAttributeValue, getAttributeValue, getCharacterEncodingScheme, getElementText, getEncoding, getEventType, getLocalName, getLocation, getName, getNamespaceContext, getNamespaceCount, getNamespacePrefix, getNamespaceURI, getNamespaceURI, getNamespaceURI, getPIData, getPITarget, getPrefix, getProperty, getText, getTextCharacters, getTextCharacters, getTextLength, getTextStart, getVersion, hasName, hasNext, hasText, isAttributeSpecified, isCharacters, isEndElement, isStandalone, isStartElement, isWhiteSpace, next, nextTag, onRecycled, require, standaloneSet
-
-
-
-
Constructor Detail
-
TidyXMLStreamReader
public TidyXMLStreamReader(@NotNull XMLStreamReader reader, @Nullable Closeable closeableSource)
-
-
Method Detail
-
close
public void close() throws XMLStreamException- Specified by:
closein interfaceXMLStreamReader- Overrides:
closein classXMLStreamReaderFilter- Throws:
XMLStreamException
-
-