Package com.yahoo.vespaxmlparser
Class VespaXMLReader
- java.lang.Object
-
- com.yahoo.vespaxmlparser.VespaXMLReader
-
- Direct Known Subclasses:
VespaXMLFeedReader
,VespaXMLFieldReader
public class VespaXMLReader extends java.lang.Object
- Author:
- thomasg
-
-
Constructor Summary
Constructors Constructor Description VespaXMLReader(java.io.InputStream stream, DocumentTypeManager docTypeManager)
VespaXMLReader(java.lang.String fileName, DocumentTypeManager docTypeManager)
VespaXMLReader(javax.xml.stream.XMLStreamReader reader, DocumentTypeManager docTypeManager)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static boolean
isBase64EncodedElement(javax.xml.stream.XMLStreamReader reader)
static boolean
isBase64EncodingAttribute(java.lang.String attributeName, java.lang.String attributeValue)
protected java.lang.RuntimeException
newDeserializeException(java.lang.String message)
protected java.lang.RuntimeException
newException(java.lang.Exception e)
protected void
skipToEnd(java.lang.String tagName)
-
-
-
Constructor Detail
-
VespaXMLReader
public VespaXMLReader(java.lang.String fileName, DocumentTypeManager docTypeManager) throws java.lang.Exception
- Throws:
java.lang.Exception
-
VespaXMLReader
public VespaXMLReader(java.io.InputStream stream, DocumentTypeManager docTypeManager) throws java.lang.Exception
- Throws:
java.lang.Exception
-
VespaXMLReader
public VespaXMLReader(javax.xml.stream.XMLStreamReader reader, DocumentTypeManager docTypeManager)
-
-
Method Detail
-
newDeserializeException
protected java.lang.RuntimeException newDeserializeException(java.lang.String message)
-
newException
protected java.lang.RuntimeException newException(java.lang.Exception e)
-
skipToEnd
protected void skipToEnd(java.lang.String tagName) throws javax.xml.stream.XMLStreamException
- Throws:
javax.xml.stream.XMLStreamException
-
isBase64EncodingAttribute
public static boolean isBase64EncodingAttribute(java.lang.String attributeName, java.lang.String attributeValue)
-
isBase64EncodedElement
public static boolean isBase64EncodedElement(javax.xml.stream.XMLStreamReader reader)
-
-