Package com.nt.udc.util.xml
Class ElementContext
java.lang.Object
com.nt.udc.util.xml.ElementContext
- Direct Known Subclasses:
Base64Context
,DCFieldContext
,HierarchyGroupContext
,HierarchyNodeContext
,ListContext
,NARContext
,NARSetContext
,PropertyContext
,RuleContext
,StringContext
,TemplateContext
,TemplateSetContext
,UnknownContext
A base context from which other element contexts are to be derived.
The ElementContext class provides the basic functionallity necessary to
convert SAX events to a Java object, and a Java object to SAX events.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addChild
(ElementContext child) void
characters
(char[] ch, int start, int length) void
end()
void
setElementName
(String itsElementName) void
write
(XMLWriter writer, NamedContextFactory factory) void
writeContent
(XMLWriter writer, NamedContextFactory factory)
-
Constructor Details
-
ElementContext
public ElementContext()
-
-
Method Details
-
setElementName
-
getElementName
-
end
public void end() -
getParent
-
characters
public void characters(char[] ch, int start, int length) -
addChild
-
getAttributes
-
write
- Throws:
SAXException
-
writeContent
- Throws:
SAXException
-