org.openfast.template.loader
Class ScalarParser
java.lang.Object
org.openfast.template.loader.AbstractFieldParser
org.openfast.template.loader.ScalarParser
- All Implemented Interfaces:
- FieldParser
- Direct Known Subclasses:
- VariableLengthScalarParser
public class ScalarParser
- extends AbstractFieldParser
|
Method Summary |
boolean |
canParse(org.w3c.dom.Element element,
org.openfast.template.loader.ParsingContext context)
|
protected QName |
getName(org.w3c.dom.Element fieldNode,
org.openfast.template.loader.ParsingContext context)
|
protected org.w3c.dom.Element |
getOperatorElement(org.w3c.dom.Element fieldNode)
|
protected Type |
getType(org.w3c.dom.Element fieldNode,
org.openfast.template.loader.ParsingContext context)
|
protected java.lang.String |
getTypeName(org.w3c.dom.Element fieldNode)
|
Field |
parse(org.w3c.dom.Element fieldNode,
boolean optional,
org.openfast.template.loader.ParsingContext context)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScalarParser
public ScalarParser(java.lang.String[] nodeNames)
ScalarParser
public ScalarParser(java.lang.String nodeName)
ScalarParser
public ScalarParser()
canParse
public boolean canParse(org.w3c.dom.Element element,
org.openfast.template.loader.ParsingContext context)
- Specified by:
canParse in interface FieldParser- Overrides:
canParse in class AbstractFieldParser
parse
public Field parse(org.w3c.dom.Element fieldNode,
boolean optional,
org.openfast.template.loader.ParsingContext context)
- Specified by:
parse in class AbstractFieldParser
getName
protected QName getName(org.w3c.dom.Element fieldNode,
org.openfast.template.loader.ParsingContext context)
getType
protected Type getType(org.w3c.dom.Element fieldNode,
org.openfast.template.loader.ParsingContext context)
getTypeName
protected java.lang.String getTypeName(org.w3c.dom.Element fieldNode)
getOperatorElement
protected org.w3c.dom.Element getOperatorElement(org.w3c.dom.Element fieldNode)
Copyright © 2006-2008 The LaSalle Technology Group, LLC. All Rights Reserved.