TPTP 4.1.0 Platform Project
Public API Specification

org.eclipse.hyades.loaders.cbe
Class DefaultXMLFragmentLoader

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byjava.util.Vector
              extended byjava.util.Stack
                  extended byorg.eclipse.hyades.loaders.cbe.DefaultXMLFragmentLoader
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.util.List, java.util.RandomAccess, java.io.Serializable, XMLFragmentLoader

public class DefaultXMLFragmentLoader
extends java.util.Stack
implements XMLFragmentLoader

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
DefaultXMLFragmentLoader()
           
 
Method Summary
 void addAttribute(java.lang.String name, java.lang.String value)
           
 void addCharacters(char[] data, int offset, int length)
           
 void addYourselfInContext()
          This is called on end of root element of each fragment
 void cleanUp()
          This is called at the end of the document.
 void endChild(java.lang.String name)
           
 void initialize(HierarchyContext context, java.lang.String name)
          This is called on start of root element of each fragment
 void startChild(java.lang.String name)
           
 
Methods inherited from class java.util.Stack
empty, peek, pop, push, search
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
iterator, listIterator, listIterator
 

Constructor Detail

DefaultXMLFragmentLoader

public DefaultXMLFragmentLoader()
Method Detail

addAttribute

public void addAttribute(java.lang.String name,
                         java.lang.String value)
Specified by:
addAttribute in interface XMLFragmentLoader

addCharacters

public void addCharacters(char[] data,
                          int offset,
                          int length)
Specified by:
addCharacters in interface XMLFragmentLoader

addYourselfInContext

public void addYourselfInContext()
Description copied from interface: XMLFragmentLoader
This is called on end of root element of each fragment

Specified by:
addYourselfInContext in interface XMLFragmentLoader

cleanUp

public void cleanUp()
Description copied from interface: XMLFragmentLoader
This is called at the end of the document.

Specified by:
cleanUp in interface XMLFragmentLoader

endChild

public void endChild(java.lang.String name)
Specified by:
endChild in interface XMLFragmentLoader

initialize

public void initialize(HierarchyContext context,
                       java.lang.String name)
Description copied from interface: XMLFragmentLoader
This is called on start of root element of each fragment

Specified by:
initialize in interface XMLFragmentLoader

startChild

public void startChild(java.lang.String name)
Specified by:
startChild in interface XMLFragmentLoader

TPTP 4.1.0 Platform Project
Public API Specification