Package org.kie.dmn.backend.marshalling
Class CustomStaxReader
- java.lang.Object
-
- com.thoughtworks.xstream.io.AbstractReader
-
- com.thoughtworks.xstream.io.xml.AbstractXmlReader
-
- com.thoughtworks.xstream.io.xml.AbstractPullReader
-
- com.thoughtworks.xstream.io.xml.StaxReader
-
- org.kie.dmn.backend.marshalling.CustomStaxReader
-
- All Implemented Interfaces:
com.thoughtworks.xstream.converters.ErrorReporter,com.thoughtworks.xstream.io.ExtendedHierarchicalStreamReader,com.thoughtworks.xstream.io.HierarchicalStreamReader
public class CustomStaxReader extends com.thoughtworks.xstream.io.xml.StaxReader
-
-
Constructor Summary
Constructors Constructor Description CustomStaxReader(com.thoughtworks.xstream.io.xml.QNameMap qnameMap, XMLStreamReader in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<QName,String>getAdditionalAttributes()StringgetAttribute(String name)StringgetAttribute(String namespaceURI, String name)LocationgetLocation()Map<String,String>getNsContext()voidmoveDown()protected intpullNextEvent()-
Methods inherited from class com.thoughtworks.xstream.io.xml.StaxReader
appendErrors, close, getAttribute, getAttributeCount, getAttributeName, pullElementName, pullText
-
Methods inherited from class com.thoughtworks.xstream.io.xml.AbstractPullReader
getAttributeNames, getNodeName, getValue, hasMoreChildren, mark, moveUp, peekNextChild, reset
-
Methods inherited from class com.thoughtworks.xstream.io.xml.AbstractXmlReader
escapeXmlName, unescapeXmlName
-
-
-
-
Constructor Detail
-
CustomStaxReader
public CustomStaxReader(com.thoughtworks.xstream.io.xml.QNameMap qnameMap, XMLStreamReader in)
-
-
Method Detail
-
getLocation
public Location getLocation()
-
getAttribute
public String getAttribute(String name)
- Specified by:
getAttributein interfacecom.thoughtworks.xstream.io.HierarchicalStreamReader- Overrides:
getAttributein classcom.thoughtworks.xstream.io.xml.StaxReader
-
moveDown
public void moveDown()
- Specified by:
moveDownin interfacecom.thoughtworks.xstream.io.HierarchicalStreamReader- Overrides:
moveDownin classcom.thoughtworks.xstream.io.xml.AbstractPullReader
-
pullNextEvent
protected int pullNextEvent()
- Overrides:
pullNextEventin classcom.thoughtworks.xstream.io.xml.StaxReader
-
-