public class ScalarParser extends AbstractFieldParser
Constructor and Description |
---|
ScalarParser() |
ScalarParser(String nodeName) |
ScalarParser(String[] nodeNames) |
Modifier and Type | Method and Description |
---|---|
boolean |
canParse(Element element,
ParsingContext context) |
boolean |
canSerialize(Field field) |
protected QName |
getName(Element fieldNode,
ParsingContext context) |
protected Element |
getOperatorElement(Element fieldNode) |
protected Type |
getType(Element fieldNode,
ParsingContext context) |
protected String |
getTypeName(Element fieldNode) |
Field |
parse(Element fieldNode,
boolean optional,
ParsingContext context) |
getElement, isElement, parse, parseExternalAttributes
public ScalarParser(String[] nodeNames)
public ScalarParser(String nodeName)
public ScalarParser()
public boolean canParse(Element element, ParsingContext context)
canParse
in interface FieldParser
canParse
in class AbstractFieldParser
public boolean canSerialize(Field field)
public Field parse(Element fieldNode, boolean optional, ParsingContext context)
parse
in class AbstractFieldParser
protected QName getName(Element fieldNode, ParsingContext context)
protected Type getType(Element fieldNode, ParsingContext context)
Copyright © 2006-2013 The LaSalle Technology Group, LLC. All Rights Reserved.