Package org.codehaus.cargo.module
Interface Grammar
-
- All Known Implementing Classes:
Dtd
,IbmEjbJarBndXmiGrammar
,IbmWebBndXmiGrammar
,Xsd
public interface Grammar
Contains 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 ofDescriptorTag
that 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 ofDescriptorTag
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
-
-