Package dev.pxml.core.reader.parser
Class EventStreamParserUtilities
- java.lang.Object
-
- dev.pxml.core.reader.parser.EventStreamParserUtilities
-
public class EventStreamParserUtilities extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description EventStreamParserUtilities()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
logPXMLFileParseEventsToOSOut(java.io.File PXMLFile)
static void
logPXMLParserEvents(java.io.Reader PXMLReader, java.io.Writer logWriter, java.lang.Object PXMLResource)
static void
measureParseTime(java.io.Reader PXMLReader, java.lang.Object PXMLResource)
static void
measureParseTimeForPXMLFile(java.io.File PXMLFile)
static java.lang.String
stripStartAndEndFromComment(java.lang.String comment)
static void
throwNestedMetaDataNotAllowedInXML(int lineNumber, int columnNumber)
-
-
-
Method Detail
-
logPXMLFileParseEventsToOSOut
public static void logPXMLFileParseEventsToOSOut(java.io.File PXMLFile) throws java.lang.Exception
- Throws:
java.lang.Exception
-
measureParseTimeForPXMLFile
public static void measureParseTimeForPXMLFile(java.io.File PXMLFile) throws java.lang.Exception
- Throws:
java.lang.Exception
-
logPXMLParserEvents
public static void logPXMLParserEvents(java.io.Reader PXMLReader, java.io.Writer logWriter, java.lang.Object PXMLResource) throws java.lang.Exception
- Throws:
java.lang.Exception
-
measureParseTime
public static void measureParseTime(java.io.Reader PXMLReader, java.lang.Object PXMLResource) throws java.lang.Exception
- Throws:
java.lang.Exception
-
stripStartAndEndFromComment
public static java.lang.String stripStartAndEndFromComment(java.lang.String comment)
-
throwNestedMetaDataNotAllowedInXML
public static void throwNestedMetaDataNotAllowedInXML(int lineNumber, int columnNumber) throws PXMLDataException
- Throws:
PXMLDataException
-
-