Example usage for Java org.dom4j.jaxb JAXBReader fields, constructors, methods, implement or subclass
The text is from its open source code.
JAXBReader(String contextPath) Creates a new JAXBReader for the given JAXB context path. |
void | addObjectHandler(String path, JAXBObjectHandler handler) Registers a JAXBObjectHandler that will be supplied with the unmarshalled representation of the xml fragment whenever the specified path is encounted. |
Document | read(File source) Parses the specified java.io.File |
Document | read(InputSource source) Parses the specified org.xml.sax.InputSource |
Document | read(InputStream source) Parses the specified java.io.InputStream |
Document | read(Reader source) Parses the specified java.io.Reader |
Document | read(String source) Parses the the given URL or filename. |
Document | read(URL source) Parses the the given URL. |
void | setPruneElements(boolean pruneElements) Set to true when DOM4J elements must immediately be pruned from the tree. |