org.eclipse.hyades.loaders.cbe
Class XMLCollector
java.lang.Object
org.eclipse.hyades.loaders.cbe.XMLCollector
- All Implemented Interfaces:
- XMLFragmentLoader
- public class XMLCollector
- extends java.lang.Object
- implements XMLFragmentLoader
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLCollector
public XMLCollector()
getTargetFeatureName
public java.lang.String getTargetFeatureName()
- Returns:
getTargetFeatureValue
public java.lang.String getTargetFeatureValue()
- Returns:
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
- Parameters:
data - offset - length -
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
done
public boolean done()
- Returns:
endChild
public void endChild(java.lang.String name)
- Specified by:
endChild in interface XMLFragmentLoader
- Parameters:
name -
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
- Parameters:
name -