Package org.apache.cxf.staxutils
Class PropertiesExpandingStreamReader
java.lang.Object
javax.xml.stream.util.StreamReaderDelegate
org.apache.cxf.staxutils.PropertiesExpandingStreamReader
- All Implemented Interfaces:
XMLStreamConstants
,XMLStreamReader
A StreamReaderDelegate that expands property references in element and attribute values.
-
Field Summary
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
ConstructorDescriptionPropertiesExpandingStreamReader
(XMLStreamReader reader, Map<String, String> props) -
Method Summary
Modifier and TypeMethodDescriptionprotected String
expandProperty
(String value) getAttributeValue
(int index) getAttributeValue
(String namespaceURI, String localName) getText()
Methods inherited from class javax.xml.stream.util.StreamReaderDelegate
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
-
Field Details
-
DELIMITER
- See Also:
-
-
Constructor Details
-
PropertiesExpandingStreamReader
-
-
Method Details
-
expandProperty
-
getElementText
- Specified by:
getElementText
in interfaceXMLStreamReader
- Overrides:
getElementText
in classStreamReaderDelegate
- Throws:
XMLStreamException
-
getAttributeValue
- Specified by:
getAttributeValue
in interfaceXMLStreamReader
- Overrides:
getAttributeValue
in classStreamReaderDelegate
-
getAttributeValue
- Specified by:
getAttributeValue
in interfaceXMLStreamReader
- Overrides:
getAttributeValue
in classStreamReaderDelegate
-
getText
- Specified by:
getText
in interfaceXMLStreamReader
- Overrides:
getText
in classStreamReaderDelegate
-