org.wftk
Class xml

java.lang.Object
  |
  +--org.wftk.xml
Direct Known Subclasses:
xmlobj

public class xml
extends java.lang.Object


Constructor Summary
xml()
           
xml(java.io.Reader r)
           
xml(java.lang.String str)
           
 
Method Summary
 xml advance()
           
 void append_pretty(xml newchild)
           
 void append(xml newchild)
           
 void assemble(xml start, xml src)
           
 void attrcat(java.lang.String key, java.lang.String str)
           
 java.lang.String[] attrlist()
           
 java.lang.String attrval(java.lang.String key)
           
 void close()
           
 void copy(xml other)
           
 void copyattrs(xml other)
           
 void copyinto(xml other)
           
 void create(java.lang.String name)
           
 void createtext(java.lang.String name)
           
 void delete_pretty()
           
 void delete()
           
 xml[] elements()
           
 java.lang.String getloc()
           
 void handle_to(xml other)
           
 boolean is_a(java.lang.String name)
           
 boolean is_element()
           
 boolean is_live()
           
 boolean is_pure()
           
 void iterate(xml parent, java.lang.String type, java.lang.String dir)
           
 xml iterator()
           
 boolean make_pure()
           
 java.lang.String name()
           
 boolean nav_ok()
           
 xml new_copy()
           
 xml newhandle()
           
 xml parent()
           
 void parse(java.io.InputStream in)
           
 void parse(java.io.Reader in)
           
 void parse(java.lang.String in)
           
 void prepend_pretty(xml newchild)
           
 void prepend(xml newchild)
           
 void replace(xml other)
           
 void replacewithcontent(xml other)
           
 void rewind()
           
 xml[] search_all(java.lang.String elem, java.lang.String attr, java.lang.String val)
           
 xml search(java.lang.String elem, java.lang.String attr, java.lang.String val)
           
 void set(java.lang.String key, java.lang.String value)
           
 java.lang.String string()
           
 java.lang.String stringcontent()
           
 java.lang.String stringcontenthtml()
           
 java.lang.String stringhtml()
           
 void textcat(java.lang.String name)
           
 void to_first()
           
 void to_firstelem()
           
 void to_last()
           
 void to_lastelem()
           
 void to_loc(java.lang.String location)
           
 void to_next()
           
 void to_nextelem()
           
 void to_parent()
           
 void to_prev()
           
 void to_prevelem()
           
 void unset(java.lang.String key)
           
 void write(java.io.OutputStream file)
           
 void writecontent(java.io.OutputStream file)
           
 void writecontenthtml(java.io.OutputStream file)
           
 void writehtml(java.io.OutputStream file)
           
 xml xml_insertafter(xml something)
           
 xml xml_insertbefore(xml something)
           
 void xml_replacecontent(xml other)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

xml

public xml()

xml

public xml(java.lang.String str)
    throws java.lang.Exception

xml

public xml(java.io.Reader r)
    throws java.lang.Exception
Method Detail

make_pure

public boolean make_pure()

is_pure

public boolean is_pure()

close

public void close()

is_live

public boolean is_live()

newhandle

public xml newhandle()

handle_to

public void handle_to(xml other)

parse

public void parse(java.io.InputStream in)
           throws java.lang.Exception
java.lang.Exception

parse

public void parse(java.io.Reader in)
           throws java.lang.Exception
java.lang.Exception

parse

public void parse(java.lang.String in)
           throws java.lang.Exception
java.lang.Exception

string

public java.lang.String string()

stringhtml

public java.lang.String stringhtml()

stringcontent

public java.lang.String stringcontent()

stringcontenthtml

public java.lang.String stringcontenthtml()

write

public void write(java.io.OutputStream file)

writehtml

public void writehtml(java.io.OutputStream file)

writecontent

public void writecontent(java.io.OutputStream file)

writecontenthtml

public void writecontenthtml(java.io.OutputStream file)

attrval

public java.lang.String attrval(java.lang.String key)

attrlist

public java.lang.String[] attrlist()

set

public void set(java.lang.String key,
                java.lang.String value)

unset

public void unset(java.lang.String key)

attrcat

public void attrcat(java.lang.String key,
                    java.lang.String str)

name

public java.lang.String name()

is_element

public boolean is_element()

is_a

public boolean is_a(java.lang.String name)

to_parent

public void to_parent()

parent

public xml parent()

elements

public xml[] elements()

nav_ok

public boolean nav_ok()

to_first

public void to_first()

to_firstelem

public void to_firstelem()

to_next

public void to_next()

to_nextelem

public void to_nextelem()

to_last

public void to_last()

to_lastelem

public void to_lastelem()

to_prev

public void to_prev()

to_prevelem

public void to_prevelem()

iterate

public void iterate(xml parent,
                    java.lang.String type,
                    java.lang.String dir)

iterator

public xml iterator()

rewind

public void rewind()

advance

public xml advance()

create

public void create(java.lang.String name)

createtext

public void createtext(java.lang.String name)

textcat

public void textcat(java.lang.String name)

delete

public void delete()

delete_pretty

public void delete_pretty()

new_copy

public xml new_copy()

copy

public void copy(xml other)

copyinto

public void copyinto(xml other)

copyattrs

public void copyattrs(xml other)

replace

public void replace(xml other)

xml_replacecontent

public void xml_replacecontent(xml other)

replacewithcontent

public void replacewithcontent(xml other)

prepend

public void prepend(xml newchild)

prepend_pretty

public void prepend_pretty(xml newchild)

append

public void append(xml newchild)

append_pretty

public void append_pretty(xml newchild)

xml_insertafter

public xml xml_insertafter(xml something)

xml_insertbefore

public xml xml_insertbefore(xml something)

to_loc

public void to_loc(java.lang.String location)

getloc

public java.lang.String getloc()

search

public xml search(java.lang.String elem,
                  java.lang.String attr,
                  java.lang.String val)

search_all

public xml[] search_all(java.lang.String elem,
                        java.lang.String attr,
                        java.lang.String val)

assemble

public void assemble(xml start,
                     xml src)