org.codehaus.cargo.module
Class Dtd

java.lang.Object
  extended by org.codehaus.cargo.module.Dtd
All Implemented Interfaces:
Grammar

public class Dtd
extends java.lang.Object
implements Grammar

Contains methods for getting information from a dtd.

Version:
$Id: Dtd.java 1089 2006-07-15 19:39:59Z vmassol $

Constructor Summary
Dtd(java.lang.String systemId)
          Contructor.
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Dtd

public Dtd(java.lang.String systemId)
Contructor.

Parameters:
systemId - system id of the dtd to parse
Method Detail

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.

Specified by:
getElementOrder in interface Grammar
Parameters:
tagName - the tag name to get the element order of.
Returns:
a List of DescriptorTag or null if tagName doesn't exist
See Also:
Grammar.getElementOrder(String)


Copyright © 2004-2011 Codehaus. All Rights Reserved.