Matra DTD Parser 0.8b

com.conradroche.matra.dtdparser
Class ParserFlags

java.lang.Object
  |
  +--com.conradroche.matra.dtdparser.ParserFlags

public class ParserFlags
extends Object

Class to hold the various flag that would determine the warnings displayed to the user.

Author:
Conrad Roche

Field Summary
static boolean UO_ATTR_UNKNOWN_ELEM
          3.3 Attribute-List Declarations [XML Rec 1.0]

At user option, an XML processor may issue a warning if attributes are declared for an element type not itself declared, but this is not an error.

static boolean UO_MISSING_ELEM_DECL
          3.2 Element Type Declarations [XML Rec 1.0]

At user option, an XML processor may issue a warning when a declaration mentions an element type for which no declaration is provided, but this is not an error.

static boolean UO_MULTIPLE_ATTR_LIST
          3.3 Attribute-List Declarations [XML Rec 1.0]

For interoperability, an XML processor may at user option issue a warning when more than one attribute-list declaration is provided for a given element type, or more than one attribute definition is provided for a given attribute, but this is not an error.

 
Constructor Summary
ParserFlags()
          Constructs a ParserFlags object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UO_MISSING_ELEM_DECL

public static boolean UO_MISSING_ELEM_DECL
3.2 Element Type Declarations [XML Rec 1.0]

At user option, an XML processor may issue a warning when a declaration mentions an element type for which no declaration is provided, but this is not an error.


UO_ATTR_UNKNOWN_ELEM

public static boolean UO_ATTR_UNKNOWN_ELEM
3.3 Attribute-List Declarations [XML Rec 1.0]

At user option, an XML processor may issue a warning if attributes are declared for an element type not itself declared, but this is not an error.


UO_MULTIPLE_ATTR_LIST

public static boolean UO_MULTIPLE_ATTR_LIST
3.3 Attribute-List Declarations [XML Rec 1.0]

For interoperability, an XML processor may at user option issue a warning when more than one attribute-list declaration is provided for a given element type, or more than one attribute definition is provided for a given attribute, but this is not an error.

Constructor Detail

ParserFlags

public ParserFlags()
Constructs a ParserFlags object.

Matra DTD Parser 0.8b