|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.frame4j.util.App
de.frame4j.XMLio
@MinDoc(copyright="Copyright 2001 - 2003, 2007, 2009 A. Weinert",
author="Albrecht Weinert",
version="V.30",
lastModified="22.03.2010",
lastModifiedBy="A. Weinert",
usage="start as Java application (-? for help)",
purpose="input [check] [validate] [transform] [and output | list] XML")
public class XMLio
XML input and output: XML --> DOM --> XML.
This application handles the input and output of XML documents as a DOM
object. Multiple variants and combinations are possible:
XMLdoc.applyTransforms() (options -noDefAtts, -compact).org.w3c.dom.Document.XMLio belongs (as integral part)
a .properties file named
XMLio.properties.
It's part of the documentation.
App,
Input,
XMLconf,
SAXdemo| Field Summary | |
|---|---|
String |
dest
The destination file's name or the denotation of a destination directory. |
boolean |
parse
Do a XML parsing instead of de-serialising. |
boolean |
serialise
Serialise the DOM object on output instead of outputting XML text. |
String |
source
The source file's name or the source URL denomination. |
int |
structList
List the DOM object's structure. |
String |
trans
An XSL transformation file's name or URL. |
| Fields inherited from class de.frame4j.util.App |
|---|
ano, appBase, appIO, appStartTime, args, bgColor, err, fullClassName, help, icon, INIT_ERROR, jmxRemoteNote, JOB_DONE_OK, log, LOG_OUT_ERROR, MAIN_THREAD_EXC, mainThread, myClass, myFrame, name, NO_PARS_ERROR, objectName, out, outMode, packName, prop, retCode, runFlag, shortClassName, title, verbose, verbosity |
| Fields inherited from interface de.frame4j.net.AttrSettable |
|---|
ILLEGAL_TYPE, ILLEGAL_VALUE, NO_ATTRIBUTE, NO_KNOWN_ATTRIBUTE, NO_VALUE, OK |
| Constructor Summary | |
|---|---|
XMLio()
|
|
| Method Summary | |
|---|---|
int |
doIt()
Working method of XMLio. |
static void |
main(String[] args)
Start method of XMLio. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public String source
public String dest
dest may be a file or a directory. A directory makes sense only
if source denotes an input file. In that case name.ser
respectively name.out is taken as output file name in the destination
directory.
public String trans
public boolean parse
public boolean serialise
public int structList
structList's value.serialise.
| Constructor Detail |
|---|
public XMLio()
| Method Detail |
|---|
public static void main(String[] args)
args - command line parameterpublic int doIt()
doIt in class Appmain(String[]),
App.go(java.lang.String[], java.lang.String, boolean, java.lang.CharSequence)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||