|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectdk.brics.xact.operations.XMLParser
public class XMLParser
Parser for XML templates.
| Field Summary | |
|---|---|
static String |
XACT_NAMESPACE
Namespace for XACT gap elements. |
| Method Summary | |
|---|---|
static XML |
parse(InputStream in,
String encoding,
boolean template,
Map<String,String> namespaces,
Origin origin)
Parses the given XML template or document from its textual representation. |
static void |
setResolver(EntityResolver resolver)
Sets the entity resolver. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String XACT_NAMESPACE
| Method Detail |
|---|
public static XML parse(InputStream in,
String encoding,
boolean template,
Map<String,String> namespaces,
Origin origin)
throws IOException
template is set, the global and thread local namespace declarations apply, and gaps are recognized.
If namespaces is non-null, this map overrides the global and thread local namespace declarations.
IOException - if an I/O error occurs
XMLTemplateException - if the string is not a syntactically wellformed XML template or documentpublic static void setResolver(EntityResolver resolver)
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||