public class PropertiesExpandingStreamReader extends StreamReaderDelegate
Modifier and Type | Field and Description |
---|---|
static String |
DELIMITER |
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
Constructor and Description |
---|
PropertiesExpandingStreamReader(XMLStreamReader reader,
Map<String,String> props) |
Modifier and Type | Method and Description |
---|---|
protected String |
expandProperty(String value) |
String |
getAttributeValue(int index) |
String |
getAttributeValue(String namespaceURI,
String localName) |
String |
getElementText() |
String |
getText() |
close, getAttributeCount, getAttributeLocalName, getAttributeName, getAttributeNamespace, getAttributePrefix, getAttributeType, getCharacterEncodingScheme, getEncoding, getEventType, getLocalName, getLocation, getName, getNamespaceContext, getNamespaceCount, getNamespacePrefix, getNamespaceURI, getNamespaceURI, getNamespaceURI, getParent, getPIData, getPITarget, getPrefix, getProperty, getTextCharacters, getTextCharacters, getTextLength, getTextStart, getVersion, hasName, hasNext, hasText, isAttributeSpecified, isCharacters, isEndElement, isStandalone, isStartElement, isWhiteSpace, next, nextTag, require, setParent, standaloneSet
public static final String DELIMITER
public PropertiesExpandingStreamReader(XMLStreamReader reader, Map<String,String> props)
public String getElementText() throws XMLStreamException
getElementText
in interface XMLStreamReader
getElementText
in class StreamReaderDelegate
XMLStreamException
public String getAttributeValue(String namespaceURI, String localName)
getAttributeValue
in interface XMLStreamReader
getAttributeValue
in class StreamReaderDelegate
public String getAttributeValue(int index)
getAttributeValue
in interface XMLStreamReader
getAttributeValue
in class StreamReaderDelegate
public String getText()
getText
in interface XMLStreamReader
getText
in class StreamReaderDelegate
Apache CXF