info.informatica.doc.xml.dtd
Class ContentModel
java.lang.Object
info.informatica.doc.xml.dtd.ContentModel
public class ContentModel
- extends Object
XML Content Model information.
- Author:
- amengual at informatica dot info
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContentModel
protected ContentModel(DocumentTypeDeclaration dtDecl)
throws SAXException,
IOException
- Throws:
SAXException
IOException
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.
Copyright © 2011 informatica.info. All Rights Reserved.