|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use XMLParseException | |
---|---|
net.sf.xolite | Main package of the X-O lite XML-to-Objects binding API. |
net.sf.xolite.dom | DOM-related classes the X-O lite XML-to-Objects binding API. |
net.sf.xolite.impl | Private implementation of the X-O lite XML-to-Objects binding API. |
net.sf.xolite.sax | SAX-related classes the X-O lite XML-to-Objects binding API. |
net.sf.xolite.transform | XSLT-related classes the X-O lite XML-to-Objects binding API. |
net.sf.xolite.utils | Utilities classes for the X-O lite XML-to-Objects binding API. |
Uses of XMLParseException in net.sf.xolite |
---|
Methods in net.sf.xolite that throw XMLParseException | ||
---|---|---|
XMLSerializable |
XMLObjectFactory.createObject(String namespaceUri,
String localName,
XMLEventParser parser)
Create an object corresponding to the XML element of the given name. |
|
void |
XMLEventParser.delegateParsingTo(XMLSerializable handlerOfSubElements)
Delegates the parsing of a XML fragment to an other SaxHandler . |
|
void |
XMLSerializable.endElement(String uri,
String localName,
XMLEventParser parser)
Receive notification of the end of an element. |
|
Iterator<String> |
XMLEventParser.getAttributeNameIterator(String attrNamespaceURI)
Get an iterator on names of all the attributes present in the current element and belonging to the given namespace. |
|
Iterator<String> |
XMLEventParser.getAttributeNamespaceIterator()
Get an iterator on namespaces of all the attributes present in the current element. |
|
protected static String |
Attributes.getAttributeRawValue(String attrName,
boolean mandatory,
XMLEventParser parser)
|
|
String |
XMLEventParser.getAttributeValue(String attrName)
Get an attribute value. |
|
String |
XMLEventParser.getAttributeValueNS(String attrNamespaceURI,
String attrName)
Get value of an attribute with namespace. |
|
static boolean |
ElementText.getBoolean(boolean defaultValue,
XMLEventParser parser)
|
|
protected static boolean |
ElementText.getBoolean(boolean defaultValue,
XMLEventParser parser,
boolean mandatory)
|
|
protected static boolean |
Attributes.getBoolean(String attrName,
boolean defaultValue,
boolean mandatory,
XMLEventParser parser)
|
|
static boolean |
Attributes.getBoolean(String attrName,
boolean defaultValue,
XMLEventParser parser)
|
|
protected static Date |
ElementText.getDate(String pattern,
Date defaultValue,
boolean mandatory,
XMLEventParser parser)
|
|
static Date |
ElementText.getDate(String pattern,
Date defaultValue,
XMLEventParser parser)
|
|
protected static Date |
Attributes.getDate(String attrName,
String pattern,
Date defaultValue,
boolean mandatory,
XMLEventParser parser)
|
|
static Date |
Attributes.getDate(String attrName,
String pattern,
Date defaultValue,
XMLEventParser parser)
|
|
protected static Dimension |
ElementText.getDimension(Dimension defaultValue,
boolean mandatory,
XMLEventParser parser)
|
|
static Dimension |
ElementText.getDimension(Dimension defaultValue,
XMLEventParser parser)
|
|
protected static Dimension |
Attributes.getDimension(String attrName,
Dimension defaultValue,
boolean mandatory,
XMLEventParser parser)
|
|
static Dimension |
Attributes.getDimension(String attrName,
Dimension defaultValue,
XMLEventParser parser)
|
|
static double |
ElementText.getDouble(double defaultValue,
XMLEventParser parser)
|
|
protected static double |
ElementText.getDouble(double defaultValue,
XMLEventParser parser,
boolean mandatory)
|
|
protected static double |
Attributes.getDouble(String attrName,
double defaultValue,
boolean mandatory,
XMLEventParser parser)
|
|
static double |
Attributes.getDouble(String attrName,
double defaultValue,
XMLEventParser parser)
|
|
static
|
Attributes.getEnum(String attrName,
T defaultValue,
Class<T> enumType,
XMLEventParser parser)
|
|
protected static
|
Attributes.getEnum(String attrName,
T defaultValue,
Class<T> enumType,
XMLEventParser parser,
boolean mandatory)
|
|
static
|
ElementText.getEnum(T defaultValue,
Class<T> enumType,
XMLEventParser parser)
|
|
protected static
|
ElementText.getEnum(T defaultValue,
Class<T> enumType,
XMLEventParser parser,
boolean mandatory)
|
|
XMLObjectFactory |
XMLEventParser.getFactory()
Get a factory able to instantiate objects corresponding to XML elements. |
|
static int |
ElementText.getInt(int defaultValue,
XMLEventParser parser)
|
|
protected static int |
ElementText.getInt(int defaultValue,
XMLEventParser parser,
boolean mandatory)
|
|
protected static int |
Attributes.getInt(String attrName,
int defaultValue,
boolean mandatory,
XMLEventParser parser)
|
|
static int |
Attributes.getInt(String attrName,
int defaultValue,
XMLEventParser parser)
|
|
static int[] |
ElementText.getIntArray(int[] defaultValue,
XMLEventParser parser)
|
|
protected static int[] |
ElementText.getIntArray(int[] defaultValue,
XMLEventParser parser,
boolean mandatory)
|
|
protected static int[] |
Attributes.getIntArray(String attrName,
int[] defaultValue,
boolean mandatory,
XMLEventParser parser)
|
|
static int[] |
Attributes.getIntArray(String attrName,
int[] defaultValue,
XMLEventParser parser)
|
|
XMLSerializable |
XMLEventParser.getLastParsedObject()
Get the last object that called endParsing(..) method on the parser. |
|
static long |
ElementText.getLong(long defaultValue,
XMLEventParser parser)
|
|
protected static long |
ElementText.getLong(long defaultValue,
XMLEventParser parser,
boolean mandatory)
|
|
protected static long |
Attributes.getLong(String attrName,
long defaultValue,
boolean mandatory,
XMLEventParser parser)
|
|
static long |
Attributes.getLong(String attrName,
long defaultValue,
XMLEventParser parser)
|
|
static boolean |
Attributes.getMandatoryBoolean(String attrName,
XMLEventParser parser)
|
|
static boolean |
ElementText.getMandatoryBoolean(XMLEventParser parser)
|
|
static Date |
Attributes.getMandatoryDate(String attrName,
String pattern,
XMLEventParser parser)
|
|
static Date |
ElementText.getMandatoryDate(String pattern,
XMLEventParser parser)
|
|
static Dimension |
Attributes.getMandatoryDimension(String attrName,
XMLEventParser parser)
|
|
static Dimension |
ElementText.getMandatoryDimension(XMLEventParser parser)
|
|
static double |
Attributes.getMandatoryDouble(String attrName,
XMLEventParser parser)
|
|
static double |
ElementText.getMandatoryDouble(XMLEventParser parser)
|
|
static
|
ElementText.getMandatoryEnum(Class<T> enumType,
XMLEventParser parser)
|
|
static
|
Attributes.getMandatoryEnum(String attrName,
Class<T> enumType,
XMLEventParser parser)
|
|
static int |
Attributes.getMandatoryInt(String attrName,
XMLEventParser parser)
|
|
static int |
ElementText.getMandatoryInt(XMLEventParser parser)
|
|
static int[] |
Attributes.getMandatoryIntArray(String attrName,
XMLEventParser parser)
|
|
static int[] |
ElementText.getMandatoryIntArray(XMLEventParser parser)
|
|
static long |
Attributes.getMandatoryLong(String attrName,
XMLEventParser parser)
|
|
static long |
ElementText.getMandatoryLong(XMLEventParser parser)
|
|
static String |
ElementText.getMandatoryMultilineText(XMLEventParser parser)
Get a mandatory multi-line text. |
|
static Point |
Attributes.getMandatoryPoint(String attrName,
XMLEventParser parser)
|
|
static Point |
ElementText.getMandatoryPoint(XMLEventParser parser)
|
|
static Rectangle |
Attributes.getMandatoryRectangle(String attrName,
XMLEventParser parser)
|
|
static Rectangle |
ElementText.getMandatoryRectangle(XMLEventParser parser)
|
|
static String |
Attributes.getMandatoryString(String attrName,
XMLEventParser parser)
|
|
static String |
ElementText.getMandatoryString(XMLEventParser parser)
Get the current text from the given parser. |
|
static List<String> |
Attributes.getMandatoryStringList(String attrName,
String separator,
XMLEventParser parser)
|
|
static String |
ElementText.getMultilineText(String defaultValue,
XMLEventParser parser)
Get a multi-line text. |
|
protected static String |
ElementText.getMultilineText(String defaultValue,
XMLEventParser parser,
boolean mandatory)
|
|
protected static Point |
ElementText.getPoint(Point defaultValue,
boolean mandatory,
XMLEventParser parser)
|
|
static Point |
ElementText.getPoint(Point defaultValue,
XMLEventParser parser)
|
|
protected static Point |
Attributes.getPoint(String attrName,
Point defaultValue,
boolean mandatory,
XMLEventParser parser)
|
|
static Point |
Attributes.getPoint(String attrName,
Point defaultValue,
XMLEventParser parser)
|
|
NamespacedName |
XMLEventParser.getQualifiedName(String qName)
Resolve a qualified name to it's namespace URI + local name. |
|
protected static Rectangle |
ElementText.getRectangle(Rectangle defaultValue,
boolean mandatory,
XMLEventParser parser)
|
|
static Rectangle |
ElementText.getRectangle(Rectangle defaultValue,
XMLEventParser parser)
|
|
protected static Rectangle |
Attributes.getRectangle(String attrName,
Rectangle defaultValue,
boolean mandatory,
XMLEventParser parser)
|
|
static Rectangle |
Attributes.getRectangle(String attrName,
Rectangle defaultValue,
XMLEventParser parser)
|
|
protected static String |
Attributes.getString(String attrName,
String defaultValue,
boolean mandatory,
XMLEventParser parser)
|
|
static String |
Attributes.getString(String attrName,
String defaultValue,
XMLEventParser parser)
|
|
static String |
ElementText.getString(String defaultValue,
XMLEventParser parser)
Get the current text from the given parser. |
|
protected static String |
ElementText.getString(String defaultValue,
XMLEventParser parser,
boolean mandatory)
|
|
static String |
ElementText.getString(XMLEventParser parser)
Get the current text from the given parser. |
|
protected static List<String> |
Attributes.getStringList(String attrName,
String separator,
boolean mandatory,
XMLEventParser parser)
Warning: This method return an unmodifiable list (not an instance of the usual ArrayList implementation). |
|
static List<String> |
Attributes.getStringList(String attrName,
String separator,
XMLEventParser parser)
|
|
protected static String |
ElementText.getTrimmedText(boolean mandatory,
XMLEventParser parser)
|
|
XMLSerializable |
XMLEventParser.parseElement(String uri,
String localName)
Create the XMLSerializable object corresponding to the given XML element, delegates the parsing to it and return the created object. |
|
void |
XMLSerializable.startElement(String uri,
String localName,
XMLEventParser parser)
Receive notification of the start of an element. |
|
void |
XMLEventParser.throwParseException(String message,
Throwable cause)
Throw an exception with given message and cause. |
|
void |
XMLEventParser.throwUnexpectedElementException(String expectedTags)
Throw an exception telling that the current element (the one that was just passed to a startElement(..) or
endElement(..) method) is unexpected. |
|
void |
XMLEventParser.throwUnexpectedNamespaceException(String expectedURI)
Throw an exception telling that the namespace of the current element (the one that was just passed to a startElement(..) or endElement(..) method) is unexpected. |
Uses of XMLParseException in net.sf.xolite.dom |
---|
Methods in net.sf.xolite.dom with parameters of type XMLParseException | |
---|---|
protected void |
DomXMLEventParser.addLocationInfo(XMLParseException xpe)
|
Methods in net.sf.xolite.dom that throw XMLParseException | |
---|---|
Iterator<String> |
DomXMLEventParser.getAttributeNameIterator(String attrNamespaceURI)
|
Iterator<String> |
DomXMLEventParser.getAttributeNamespaceIterator()
|
String |
DomXMLEventParser.getAttributeValue(String attrName)
|
String |
DomXMLEventParser.getAttributeValueNS(String attrNamespaceURI,
String attrName)
|
XMLSerializable |
DomXMLEventParser.parse(Document src)
'Parse' the given DOM Document to java objects. |
void |
DomXMLEventParser.parse(Document src,
XMLSerializable rootHandler)
'Parse' the given DOM Document using the given XMLSerializable as root handler. |
XMLSerializable |
DomXMLEventParser.parseElement(String uri,
String localName)
|
Uses of XMLParseException in net.sf.xolite.impl |
---|
Methods in net.sf.xolite.impl with parameters of type XMLParseException | |
---|---|
protected abstract void |
BaseXMLEventParser.addLocationInfo(XMLParseException xpe)
|
Methods in net.sf.xolite.impl that throw XMLParseException | |
---|---|
void |
BaseXMLEventParser.delegateParsingTo(XMLSerializable handlerOfSubElements)
|
XMLObjectFactory |
BaseXMLEventParser.getFactory()
|
XMLSerializable |
BaseXMLEventParser.getLastParsedObject()
|
NamespacedName |
BaseXMLEventParser.getQualifiedName(String qName)
|
XMLSerializable |
BaseXMLEventParser.parseElement(String uri,
String localName)
|
void |
BaseXMLEventParser.throwParseException(String message,
Throwable cause)
|
void |
BaseXMLEventParser.throwUnexpectedElementException(String expectedTags)
|
void |
BaseXMLEventParser.throwUnexpectedNamespaceException(String expected)
|
protected void |
BaseXMLEventParser.transformAndThrowException(Exception source)
|
Uses of XMLParseException in net.sf.xolite.sax |
---|
Methods in net.sf.xolite.sax with parameters of type XMLParseException | |
---|---|
protected void |
SaxXMLEventParser.addLocationInfo(XMLParseException xpe)
|
Methods in net.sf.xolite.sax that throw XMLParseException | |
---|---|
Iterator<String> |
SaxXMLEventParser.getAttributeNameIterator(String attrNamespaceURI)
|
Iterator<String> |
SaxXMLEventParser.getAttributeNamespaceIterator()
|
String |
SaxXMLEventParser.getAttributeValue(String attrName)
|
String |
SaxXMLEventParser.getAttributeValueNS(String attrNamespaceURI,
String attrName)
|
XMLSerializable |
SaxXMLEventParser.parse(File f)
Parse the given file to java objects. |
void |
SaxXMLEventParser.parse(File f,
XMLSerializable rootHandler)
Parse a file to java objects using the given XMLSerializable as root handler (as object representing the root
element). |
XMLSerializable |
SaxXMLEventParser.parse(InputSource src)
Parse the given input source to java objects. |
void |
SaxXMLEventParser.parse(InputSource src,
XMLSerializable rootHandler)
Parse an input source to java objects using the given XMLSerializable as root handler (as object representing
the root element). |
XMLSerializable |
SaxXMLEventParser.parse(InputStream is)
Parse the given input stream to java objects. |
void |
SaxXMLEventParser.parse(InputStream is,
XMLSerializable rootHandler)
Parse an input stream to java objects using the given XMLSerializable as root handler (as object representing
the root element). |
XMLSerializable |
SaxXMLEventParser.parse(URL url)
Parse the given URL content to java objects. |
void |
SaxXMLEventParser.parse(URL url,
XMLSerializable rootHandler)
Parse an URL content to java objects using the given XMLSerializable as root handler (as object representing the
root element). |
protected void |
SaxXMLEventParser.transformAndThrowException(Exception source)
|
Uses of XMLParseException in net.sf.xolite.transform |
---|
Methods in net.sf.xolite.transform that throw XMLParseException | |
---|---|
XMLObjectFactory |
XMLEventParserResult.getXmlObjectFactory()
|
Uses of XMLParseException in net.sf.xolite.utils |
---|
Methods in net.sf.xolite.utils that throw XMLParseException | |
---|---|
XMLSerializable |
ClassObjectFactory.createObject(String namespaceUri,
String localName,
XMLEventParser parser)
Create an object corresponding to the XML element of the given name. |
void |
XMLSkipper.endElement(String uri,
String localName,
XMLEventParser parser)
|
void |
RootHolder.endElement(String uri,
String localName,
XMLEventParser parser)
Notification of the end tag of the root element. |
void |
XMLSkipper.startElement(String uri,
String localName,
XMLEventParser parser)
|
void |
RootHolder.startElement(String uri,
String localName,
XMLEventParser parser)
Instantiate the real root element from the parser factory and delegate parsing to it. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |