org.openfast.template.loader
Class GroupParser
java.lang.Object
org.openfast.template.loader.AbstractFieldParser
org.openfast.template.loader.GroupParser
- All Implemented Interfaces:
- FieldParser
- Direct Known Subclasses:
- TemplateParser
public class GroupParser
- extends AbstractFieldParser
|
Method Summary |
protected static QName |
getTypeReference(org.w3c.dom.Element templateTag)
Finds the typeReference tag in the passed dom element object |
protected Field |
parse(org.w3c.dom.Element groupElement,
boolean optional,
org.openfast.template.loader.ParsingContext context)
Creates a Group object from the dom group element |
protected static Field[] |
parseFields(org.w3c.dom.Element template,
org.openfast.template.loader.ParsingContext context)
Places the nodes of the passed element into an array |
protected static void |
parseMore(org.w3c.dom.Element groupElement,
Group group,
org.openfast.template.loader.ParsingContext context)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GroupParser
public GroupParser()
parse
protected Field parse(org.w3c.dom.Element groupElement,
boolean optional,
org.openfast.template.loader.ParsingContext context)
- Creates a Group object from the dom group element
- Specified by:
parse in class AbstractFieldParser
- Parameters:
group - The dom element objectisOptional - Determines if the Field is required or not for the data
- Returns:
- Returns a newly created Group object
parseMore
protected static void parseMore(org.w3c.dom.Element groupElement,
Group group,
org.openfast.template.loader.ParsingContext context)
parseFields
protected static Field[] parseFields(org.w3c.dom.Element template,
org.openfast.template.loader.ParsingContext context)
- Places the nodes of the passed element into an array
- Parameters:
template - The dom element object
- Returns:
- Returns a Field array of the parsed nodes of the dom element
getTypeReference
protected static QName getTypeReference(org.w3c.dom.Element templateTag)
- Finds the typeReference tag in the passed dom element object
- Parameters:
templateTag - The dom element object
- Returns:
- Returns a string of the TypeReference from the passed element dom
object
Copyright © 2006-2008 The LaSalle Technology Group, LLC. All Rights Reserved.