org.apache.activemq.apollo.dto
Class XmlCodec.PropertiesFilter

java.lang.Object
  extended by javax.xml.stream.util.StreamReaderDelegate
      extended by org.apache.activemq.apollo.dto.XmlCodec.PropertiesFilter
All Implemented Interfaces:
javax.xml.stream.XMLStreamConstants, javax.xml.stream.XMLStreamReader
Enclosing class:
XmlCodec

public static class XmlCodec.PropertiesFilter
extends javax.xml.stream.util.StreamReaderDelegate

Changes ${property} with values from a properties object


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
XmlCodec.PropertiesFilter(javax.xml.stream.XMLStreamReader parent, java.util.Properties props)
           
 
Method Summary
 java.lang.String filter(java.lang.String str)
           
 java.lang.String getAttributeValue(int index)
           
 
Methods inherited from class javax.xml.stream.util.StreamReaderDelegate
close, getAttributeCount, getAttributeLocalName, getAttributeName, getAttributeNamespace, getAttributePrefix, getAttributeType, getAttributeValue, getCharacterEncodingScheme, getElementText, getEncoding, getEventType, getLocalName, getLocation, getName, getNamespaceContext, getNamespaceCount, getNamespacePrefix, getNamespaceURI, getNamespaceURI, getNamespaceURI, getParent, getPIData, getPITarget, getPrefix, getProperty, getText, getTextCharacters, getTextCharacters, getTextLength, getTextStart, getVersion, hasName, hasNext, hasText, isAttributeSpecified, isCharacters, isEndElement, isStandalone, isStartElement, isWhiteSpace, next, nextTag, require, setParent, standaloneSet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlCodec.PropertiesFilter

public XmlCodec.PropertiesFilter(javax.xml.stream.XMLStreamReader parent,
                                 java.util.Properties props)
Method Detail

getAttributeValue

public java.lang.String getAttributeValue(int index)
Specified by:
getAttributeValue in interface javax.xml.stream.XMLStreamReader
Overrides:
getAttributeValue in class javax.xml.stream.util.StreamReaderDelegate

filter

public java.lang.String filter(java.lang.String str)


Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.