org.apache.activemq.apollo.broker.jaxb
Class PropertiesReader

java.lang.Object
  extended by javax.xml.stream.util.StreamReaderDelegate
      extended by org.apache.activemq.apollo.broker.jaxb.PropertiesReader
All Implemented Interfaces:
javax.xml.stream.XMLStreamConstants, javax.xml.stream.XMLStreamReader

public class PropertiesReader
extends javax.xml.stream.util.StreamReaderDelegate

Changes ${system.property} with System.getProperty("system.property") in 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
PropertiesReader(javax.xml.stream.XMLStreamReader parent)
           
 
Method Summary
 java.lang.String getAttributeValue(int index)
           
 java.lang.String replaceSystemProperties(java.lang.String str)
           
 
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

PropertiesReader

public PropertiesReader(javax.xml.stream.XMLStreamReader parent)
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

replaceSystemProperties

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


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