|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sca4j.introspection.xml.LoaderUtil
public final class LoaderUtil
Utility functions to support loader implementations.
| Method Summary | |
|---|---|
static javax.xml.namespace.QName |
getQName(java.lang.String text,
java.lang.String defaultNamespace,
javax.xml.namespace.NamespaceContext context)
Construct a QName from an XML value. |
static void |
skipToEndElement(javax.xml.stream.XMLStreamReader reader)
Advance the stream to the next END_ELEMENT event skipping any nested content. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void skipToEndElement(javax.xml.stream.XMLStreamReader reader)
throws javax.xml.stream.XMLStreamException
reader - the reader to advance
javax.xml.stream.XMLStreamException - if there was a problem reading the stream
public static javax.xml.namespace.QName getQName(java.lang.String text,
java.lang.String defaultNamespace,
javax.xml.namespace.NamespaceContext context)
text - the text of an XML QName; if null or "" then null will be returneddefaultNamespace - the default namespace to use if none is definedcontext - the context for resolving namespace prefixes
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||