Apache CXF API

org.apache.cxf.staxutils.transform
Class InTransformReader

java.lang.Object
  extended by org.apache.cxf.staxutils.DepthXMLStreamReader
      extended by org.apache.cxf.staxutils.transform.InTransformReader
All Implemented Interfaces:
javax.xml.stream.XMLStreamConstants, javax.xml.stream.XMLStreamReader

public class InTransformReader
extends DepthXMLStreamReader


Field Summary
 
Fields inherited from class org.apache.cxf.staxutils.DepthXMLStreamReader
reader
 
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
InTransformReader(javax.xml.stream.XMLStreamReader reader, Map<String,String> inMap, Map<String,String> appendMap, boolean blockOriginalReader)
           
InTransformReader(javax.xml.stream.XMLStreamReader reader, Map<String,String> inEMap, Map<String,String> appendMap, List<String> dropESet, Map<String,String> inAMap, boolean blockOriginalReader)
           
 
Method Summary
 int getAttributeCount()
           
 String getAttributeLocalName(int arg0)
           
 QName getAttributeName(int arg0)
           
 String getAttributeNamespace(int arg0)
           
 String getAttributePrefix(int arg0)
           
 String getAttributeType(int arg0)
           
 String getAttributeValue(int arg0)
           
 String getAttributeValue(String namespace, String localName)
           
 String getLocalName()
           
 QName getName()
           
 NamespaceContext getNamespaceContext()
           
 String getNamespacePrefix(int index)
           
 String getNamespaceURI()
           
 String getNamespaceURI(int index)
           
 String getPrefix()
           
 Object getProperty(String name)
           
 javax.xml.stream.XMLStreamReader getReader()
           
 String getText()
           
 char[] getTextCharacters()
           
 int getTextCharacters(int sourceStart, char[] target, int targetStart, int length)
           
 int getTextLength()
           
 int next()
           
 
Methods inherited from class org.apache.cxf.staxutils.DepthXMLStreamReader
close, equals, getCharacterEncodingScheme, getDepth, getElementText, getEncoding, getEventType, getLocation, getNamespaceCount, getNamespaceURI, getPIData, getPITarget, getTextStart, getVersion, hashCode, hasName, hasNext, hasText, isAttributeSpecified, isCharacters, isEndElement, isStandalone, isStartElement, isWhiteSpace, nextTag, require, standaloneSet, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InTransformReader

public InTransformReader(javax.xml.stream.XMLStreamReader reader,
                         Map<String,String> inMap,
                         Map<String,String> appendMap,
                         boolean blockOriginalReader)

InTransformReader

public InTransformReader(javax.xml.stream.XMLStreamReader reader,
                         Map<String,String> inEMap,
                         Map<String,String> appendMap,
                         List<String> dropESet,
                         Map<String,String> inAMap,
                         boolean blockOriginalReader)
Method Detail

getReader

public javax.xml.stream.XMLStreamReader getReader()
Overrides:
getReader in class DepthXMLStreamReader

next

public int next()
         throws javax.xml.stream.XMLStreamException
Specified by:
next in interface javax.xml.stream.XMLStreamReader
Overrides:
next in class DepthXMLStreamReader
Throws:
javax.xml.stream.XMLStreamException

getProperty

public Object getProperty(String name)
                   throws IllegalArgumentException
Specified by:
getProperty in interface javax.xml.stream.XMLStreamReader
Overrides:
getProperty in class DepthXMLStreamReader
Throws:
IllegalArgumentException

getLocalName

public String getLocalName()
Specified by:
getLocalName in interface javax.xml.stream.XMLStreamReader
Overrides:
getLocalName in class DepthXMLStreamReader

getNamespaceContext

public NamespaceContext getNamespaceContext()
Specified by:
getNamespaceContext in interface javax.xml.stream.XMLStreamReader
Overrides:
getNamespaceContext in class DepthXMLStreamReader

getPrefix

public String getPrefix()
Specified by:
getPrefix in interface javax.xml.stream.XMLStreamReader
Overrides:
getPrefix in class DepthXMLStreamReader

getNamespaceURI

public String getNamespaceURI(int index)
Specified by:
getNamespaceURI in interface javax.xml.stream.XMLStreamReader
Overrides:
getNamespaceURI in class DepthXMLStreamReader

getNamespacePrefix

public String getNamespacePrefix(int index)
Specified by:
getNamespacePrefix in interface javax.xml.stream.XMLStreamReader
Overrides:
getNamespacePrefix in class DepthXMLStreamReader

getNamespaceURI

public String getNamespaceURI()
Specified by:
getNamespaceURI in interface javax.xml.stream.XMLStreamReader
Overrides:
getNamespaceURI in class DepthXMLStreamReader

getName

public QName getName()
Specified by:
getName in interface javax.xml.stream.XMLStreamReader
Overrides:
getName in class DepthXMLStreamReader

getAttributeCount

public int getAttributeCount()
Specified by:
getAttributeCount in interface javax.xml.stream.XMLStreamReader
Overrides:
getAttributeCount in class DepthXMLStreamReader

getAttributeLocalName

public String getAttributeLocalName(int arg0)
Specified by:
getAttributeLocalName in interface javax.xml.stream.XMLStreamReader
Overrides:
getAttributeLocalName in class DepthXMLStreamReader

getAttributeName

public QName getAttributeName(int arg0)
Specified by:
getAttributeName in interface javax.xml.stream.XMLStreamReader
Overrides:
getAttributeName in class DepthXMLStreamReader

getAttributeNamespace

public String getAttributeNamespace(int arg0)
Specified by:
getAttributeNamespace in interface javax.xml.stream.XMLStreamReader
Overrides:
getAttributeNamespace in class DepthXMLStreamReader

getAttributePrefix

public String getAttributePrefix(int arg0)
Specified by:
getAttributePrefix in interface javax.xml.stream.XMLStreamReader
Overrides:
getAttributePrefix in class DepthXMLStreamReader

getAttributeType

public String getAttributeType(int arg0)
Specified by:
getAttributeType in interface javax.xml.stream.XMLStreamReader
Overrides:
getAttributeType in class DepthXMLStreamReader

getAttributeValue

public String getAttributeValue(int arg0)
Specified by:
getAttributeValue in interface javax.xml.stream.XMLStreamReader
Overrides:
getAttributeValue in class DepthXMLStreamReader

getAttributeValue

public String getAttributeValue(String namespace,
                                String localName)
Specified by:
getAttributeValue in interface javax.xml.stream.XMLStreamReader
Overrides:
getAttributeValue in class DepthXMLStreamReader

getText

public String getText()
Specified by:
getText in interface javax.xml.stream.XMLStreamReader
Overrides:
getText in class DepthXMLStreamReader

getTextCharacters

public char[] getTextCharacters()
Specified by:
getTextCharacters in interface javax.xml.stream.XMLStreamReader
Overrides:
getTextCharacters in class DepthXMLStreamReader

getTextCharacters

public int getTextCharacters(int sourceStart,
                             char[] target,
                             int targetStart,
                             int length)
                      throws javax.xml.stream.XMLStreamException
Specified by:
getTextCharacters in interface javax.xml.stream.XMLStreamReader
Overrides:
getTextCharacters in class DepthXMLStreamReader
Throws:
javax.xml.stream.XMLStreamException

getTextLength

public int getTextLength()
Specified by:
getTextLength in interface javax.xml.stream.XMLStreamReader
Overrides:
getTextLength in class DepthXMLStreamReader

Apache CXF API

Apache CXF