Package org.codehaus.cargo.module
Interface Grammar
-
- All Known Implementing Classes:
Dtd,IbmEjbJarBndXmiGrammar,IbmWebBndXmiGrammar,Xsd
public interface GrammarContains methods for retrieving grammar information for an XML file.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<DescriptorTag>getElementOrder(String tagName)Returns a List ofDescriptorTagthat describes the order that elements can appear in a certain element accordingly to the grammar.
-
-
-
Method Detail
-
getElementOrder
List<DescriptorTag> getElementOrder(String tagName)
Returns a List ofDescriptorTagthat 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
DescriptorTagor null if tagName doesn't exist
-
-