test
Class TestStreamReader

java.lang.Object
  extended by test.TestStreamReader
All Implemented Interfaces:
XMLStreamConstants

public class TestStreamReader
extends Object
implements XMLStreamConstants

Simple helper test class for checking how stream reader handles xml documents.


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
protected TestStreamReader()
           
 
Method Summary
protected  XMLInputFactory getFactory()
           
static void main(String[] args)
           
protected  int test(File file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestStreamReader

protected TestStreamReader()
Method Detail

getFactory

protected XMLInputFactory getFactory()

test

protected int test(File file)
            throws Exception
Throws:
Exception

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception


Copyright © 2012 Fasterxml.com. All Rights Reserved.