info.informatica.doc.xml.dtd
Class ContentModel

java.lang.Object
  extended by info.informatica.doc.xml.dtd.ContentModel

public class ContentModel
extends Object

XML Content Model information.


Method Summary
static ContentModel getModel(String docTypeDecl)
          Gets an instance of ContentModel.
static ContentModel getXHTML1TransitionalModel()
           
 boolean isEmpty(String name)
          Checks if the content model of the given element is EMPTY.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getModel

public static ContentModel getModel(String docTypeDecl)
                             throws SAXException
Gets an instance of ContentModel.

Returns:
the ContentModel for the given filename, or null if not found.
Throws:
SAXException

getXHTML1TransitionalModel

public static ContentModel getXHTML1TransitionalModel()

isEmpty

public boolean isEmpty(String name)
Checks if the content model of the given element is EMPTY.

Parameters:
name - the element name.
Returns:
true if the content model is EMPTY, false otherwise.