org.codehaus.cargo.module
Interface Grammar
- All Known Implementing Classes:
- Dtd, IbmEjbJarBndXmiGrammar, IbmWebBndXmiGrammar
- public interface Grammar
Contains methods for retrieving grammar information for an XML file.
- Version:
- $Id: Grammar.java 1088 2006-07-15 19:37:00Z vmassol $
Method Summary |
java.util.List |
getElementOrder(java.lang.String tagName)
Returns a List of DescriptorTag that describes the order that
elements can appear in a certain element accordingly to the grammar. |
getElementOrder
public java.util.List getElementOrder(java.lang.String tagName)
- Returns a List of
DescriptorTag
that describes the order that
elements can appear in a certain element accordingly to the grammar.
- Parameters:
tagName
- the tag name to get the element order of.
- Returns:
- a List of
DescriptorTag
or null if tagName doesn't exist
Copyright © 2004-2008 Codehaus. All Rights Reserved.