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 1705 2008-09-02 13:14:55Z adriana $
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
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-2011 Codehaus. All Rights Reserved.