| org.netbeans.editor.ext.html.dtd.DTD
DTD | public interface DTD (Code) | | The interface representing SGMLish Document Type Definition. There is
separate instance for every DTD ID. The DTD in whole provides informations
about Elements, Attributes, their types, possible Values, Character
references and Content models.
author: Petr Nejedly version: 1.0 |
Inner Class :public static interface Element | |
Inner Class :public static interface Attribute | |
Inner Class :public static interface Value | |
Inner Class :public static interface CharRef | |
Inner Class :public static interface ContentModel | |
Inner Class :public static interface Content | |
Inner Class :public static interface ContentLeaf extends Content | |
Inner Class :public static interface ContentNode extends Content | |
getCharRef | public DTD.CharRef getCharRef(String name)(Code) | | Get the CharRef of given name.
DTD.CharRef for given name or null , if no suchCharRef exists in this DTD. |
getCharRefList | public List getCharRefList(String prefix)(Code) | | Get List of all CharRefs whose aliases starts with given prefix.
Parameters: prefix - the requred prefix of CharRefs. For empty string or null ,List of all CharRefs from this DTD is returned. Theimplementation must handle null correctly. List of all such CharRefs, maybe empty, never null . |
getElement | public DTD.Element getElement(String name)(Code) | | Get the Element of given name.
DTD.Element for given name or null , if no suchElement exists in this DTD. |
getElementList | public List getElementList(String prefix)(Code) | | Get List of all Elements whose names starts with given prefix
Parameters: prefix - the prefix all returned Elements must start with. For emptystring or null , List of all Elements from thisDTD will be returned. The implementation must handlenull correctly. List of all Elements from this DTD starting with prefix ,or empty List if no such Element found. Never returns null . |
getIdentifier | public String getIdentifier()(Code) | | Identify this instance of DTD
the name under which should be this DTD registered in DTDregistry. |
|
|