|
demo for SASAX - 1.5 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jp.ne.dti.lares.foozy.sasax.ChoiceDemo.StringElementFactory
Factory class to create "string" element.
Fields inherited from interface jp.ne.dti.lares.foozy.sasax.DemoConstants |
COMPOSITE_L_NAME, ENVELOPE_L_NAME, INT_L_NAME, LIST_L_NAME, STRING_L_NAME, URI |
Constructor Summary | |
ChoiceDemo.StringElementFactory()
|
Method Summary | |
boolean |
accepts(ParseContext context,
java.lang.String uri,
java.lang.String lName)
Examine whether specified NAME is acceptable or not. |
Element |
create(Element parent)
Create element. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ChoiceDemo.StringElementFactory()
Method Detail |
public boolean accepts(ParseContext context, java.lang.String uri, java.lang.String lName)
This examines with
DemoConstants.URI
and
DemoConstants.STRING_L_NAME
.
accepts
in interface ElementFactory
public Element create(Element parent)
This create ValueElement.StringType
instance.
create
in interface ElementFactory
|
demo for SASAX - 1.5 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |