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
 
 public class PropertiesExpandingStreamReader extends StreamReaderDelegate A StreamReaderDelegate that expands property references in element and attribute values.
- 
- 
Field SummaryFields Modifier and Type Field Description static StringDELIMITER- 
Fields inherited from interface javax.xml.stream.XMLStreamConstantsATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
 
- 
 - 
Constructor SummaryConstructors Constructor Description PropertiesExpandingStreamReader(XMLStreamReader reader, Map<String,String> props)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringexpandProperty(String value)StringgetAttributeValue(int index)StringgetAttributeValue(String namespaceURI, String localName)StringgetElementText()StringgetText()- 
Methods inherited from class javax.xml.stream.util.StreamReaderDelegateclose, 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 Detail- 
DELIMITERpublic static final String DELIMITER - See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
PropertiesExpandingStreamReaderpublic PropertiesExpandingStreamReader(XMLStreamReader reader, Map<String,String> props) 
 
- 
 - 
Method Detail- 
getElementTextpublic String getElementText() throws XMLStreamException - Specified by:
- getElementTextin interface- XMLStreamReader
- Overrides:
- getElementTextin class- StreamReaderDelegate
- Throws:
- XMLStreamException
 
 - 
getAttributeValuepublic String getAttributeValue(String namespaceURI, String localName) - Specified by:
- getAttributeValuein interface- XMLStreamReader
- Overrides:
- getAttributeValuein class- StreamReaderDelegate
 
 - 
getAttributeValuepublic String getAttributeValue(int index) - Specified by:
- getAttributeValuein interface- XMLStreamReader
- Overrides:
- getAttributeValuein class- StreamReaderDelegate
 
 - 
getTextpublic String getText() - Specified by:
- getTextin interface- XMLStreamReader
- Overrides:
- getTextin class- StreamReaderDelegate
 
 
- 
 
-