Top Description Inners Fields Constructors Methods
com.sun.msv.reader.dtd

public Class DTDReader

extends Object
implements DTDEventListener
Class Inheritance
All Implemented Interfaces
com.sun.msv.scanner.dtd.DTDEventListener, java.util.EventListener
Imports
java.util.Iterator, .Map, .Set, org.relaxng.datatype.Datatype, .DatatypeException, .DatatypeLibrary, org.xml.sax.InputSource, .Locator, .SAXException, .SAXParseException, org.xml.sax.helpers.LocatorImpl, com.sun.msv.datatype.xsd.ngimpl.DataTypeLibraryImpl, com.sun.msv.grammar.ChoiceNameClass, .Expression, .ExpressionPool, .NameClass, .ReferenceExp, .SimpleNameClass, com.sun.msv.grammar.dtd.LocalNameClass, com.sun.msv.grammar.trex.ElementPattern, .TREXGrammar, com.sun.msv.reader.Controller, .GrammarReaderController, com.sun.msv.scanner.dtd.DTDEventListener, .DTDParser, .InputEntity, com.sun.msv.util.StringPair

constructs TREXGrammar object that exactly matches to the parsed DTD.

Each element declaration will have its own ReferenceExp by the name of the element.

Note that this class does NOT extend GrammarReader, because DTD is not written in XML format.

Author
Kohsuke KAWAGUCHI

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class
protected class

Field Summary

Modifier and TypeField and Description
protected static final String
ABANDON_URI_SNIFFING

when this value is in the above set, that indicates we couldn't detect what URIs are going to be used with that prefix.

protected final Map<String, Map<String, Object>>
attributeDecls

map from element name to (map from attribute name to AttModel).

protected final short
protected short
protected Expression
protected DTDReader.Context
protected final Controller
private DatatypeLibrary
datatypeLibrary

Used to create Datatype objects.

private final Map<Object, Locator>
declaredLocations

this map remembers where ReferenceExps are defined, and where user defined types are defined.

protected final Map<String, Object>
elementDecls

map from element name to its content model.

public static final String
public static final String
protected final TREXGrammar
protected Locator
protected final Map<String, Set<String>>
namespaces

map from prefix to set of possible namespace URI.

private boolean
reportedXmlnsWarning

this flag is set to true after reporting WRN_ATTEMPT_TO_USE_NAMESPACE.

public static final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
attributeDecl(String elementName, String attributeName, String attributeType, String[] enums, short attributeUse, String defaultValue)

Implements com.sun.msv.scanner.dtd.DTDEventListener.attributeDecl.

For each entry in an ATTLIST declaration, this event will be fired.
public void
characters(char[]
The characters from the DTD.
ch
,
int
The start position in the array.
start
,
int
The number of characters to read from the array.
length
)

Implements com.sun.msv.scanner.dtd.DTDEventListener.characters.

Receive notification of character data.
public void
protected void
public void
comment(String
the text within the comment delimiters.
n
)

Implements com.sun.msv.scanner.dtd.DTDEventListener.comment.

Receive notification that a comment has been read.
public void
connector(short type)

Implements com.sun.msv.scanner.dtd.DTDEventListener.connector.

Connectors in one model group is guaranteed to be the same.
protected Expression
createAttributeBody(String elementName, String attributeName, String attributeType, String[] enums, short attributeUse, String defaultValue)

Creates an attribute body from the declaration found in the DTD.

public Datatype
createDatatype(String name)

Obtains a Datatype object from its name.

protected ReferenceExp

Returns:

ReferenceExp that corresponds to the created element declaration.
createElementDeclaration
(String elementName)

Creates an element declaration in the grammar object by using the parsed result.

protected Expression

Returns:

An expression that corresponds to the choice of all element declarations. This will be used to implement "ANY".
createElementDeclarations
()

Creates element declarations from the parsed result.

protected static final Map<String, Set<String>>
public void
endCDATA()

Implements com.sun.msv.scanner.dtd.DTDEventListener.endCDATA.

Receive notification that the CDATA section finished.
public void
endContentModel(String elementName, short type)

Implements com.sun.msv.scanner.dtd.DTDEventListener.endContentModel.

receives notification that parsing of content model is finished.
public void
endDTD()

Implements com.sun.msv.scanner.dtd.DTDEventListener.endDTD.

Receive notification of the end of a DTD.
public void
public void
public void
externalGeneralEntityDecl(String
The entity name.
n
,
String
The entity's public identifier, or null if none was given.
p
,
String
The entity's system identifier.
s
)

Implements com.sun.msv.scanner.dtd.DTDEventListener.externalGeneralEntityDecl.

Receive notification of an external parsed general entity declaration event.
public void
externalParameterEntityDecl(String
The parameter entity name.
n
,
String
The entity's public identifier, or null if none was given.
p
,
String
The entity's system identifier.
s
)

Implements com.sun.msv.scanner.dtd.DTDEventListener.externalParameterEntityDecl.

Receive notification of an external parameter entity declaration event.
public void
protected final ReferenceExp
getAnyExp()

Gets the expression that corresponds to the "ANY".

public Locator
protected NameClass
getNameClass(String maybeQName, boolean handleAsAttribute)

private Set<String>
public TREXGrammar

Returns:

null if there was an error. Otherwise a parsed grammar object will be returned.
getResult
()

Obtains the parsed grammar object.

public void
ignorableWhitespace(char[]
The characters from the DTD.
ch
,
int
The start position in the array.
start
,
int
The number of characters to read from the array.
length
)

Implements com.sun.msv.scanner.dtd.DTDEventListener.ignorableWhitespace.

Receive notification of ignorable whitespace in element content.
public void
internalGeneralEntityDecl(String
The internal general entity name.
n
,
String
The value of the entity, which may include unexpanded entity references. Character references will have been expanded.
v
)

Implements com.sun.msv.scanner.dtd.DTDEventListener.internalGeneralEntityDecl.

Receive notification of a internal general entity declaration event.
public void
internalParameterEntityDecl(String
The internal parameter entity name.
n
,
String
The value of the entity, which may include unexpanded entity references. Character references will have been expanded.
v
)

Implements com.sun.msv.scanner.dtd.DTDEventListener.internalParameterEntityDecl.

Receive notification of a internal parameter entity declaration event.
public boolean
public void
mixedElement(String elementName)

Implements com.sun.msv.scanner.dtd.DTDEventListener.mixedElement.

receives notification of child element of mixed content model.
public void
notationDecl(String
The notation name, referred to by entities and elements.
name
,
String
The public identifier
publicId
,
String
The system identifier
systemId
)

Implements com.sun.msv.scanner.dtd.DTDEventListener.notationDecl.

Receive notification of a Notation Declaration.
public static TREXGrammar
public static TREXGrammar
public void
processingInstruction(String
The target of the proceessing instruction which should have meaning to the application.
target
,
String
The instruction itself which should contain valid XML characters.
data
)

Implements com.sun.msv.scanner.dtd.DTDEventListener.processingInstruction.

Receive notification of a Processing Instruction.
protected Expression
processOccurs(Expression item, short occurence)

processes occurence (?,+,*) of the given expression

public String
public void
public void
public void
protected String[]
splitQName(String maybeQName)

returns an array of (URI,localName).

public void
startCDATA()

Implements com.sun.msv.scanner.dtd.DTDEventListener.startCDATA.

Receive notification that a CDATA section is beginning.
public void
startContentModel(String
name of the element whose content model is going to be defined.
elementName
,
short
CONTENT_MODEL_EMPTY this element has EMPTY content model. This notification will be immediately followed by the corresponding endContentModel. CONTENT_MODEL_ANY this element has ANY content model. This notification will be immediately followed by the corresponding endContentModel. CONTENT_MODEL_MIXED this element has mixed content model. #PCDATA will not be reported. each child element will be reported by mixedElement method. CONTENT_MODEL_CHILDREN this elemen has child content model. The actual content model will be reported by childElement, startModelGroup, endModelGroup, and connector methods. Possible call sequences are: START := MODEL_GROUP MODEL_GROUP := startModelGroup TOKEN (connector TOKEN)* endModelGroup TOKEN := childElement | MODEL_GROUP
type
)

Implements com.sun.msv.scanner.dtd.DTDEventListener.startContentModel.

receives notification that parsing of content model is beginning.
public void
startDTD(InputEntity
Current input entity.
in
)

Implements com.sun.msv.scanner.dtd.DTDEventListener.startDTD.

Receive notification of the beginning of the DTD.
public void
public void
unparsedEntityDecl(String
The name of the unparsed entity.
name
,
String
The public identifier
publicId
,
String
The system identifier
systemId
,
String
The associated notation
notationName
)

Implements com.sun.msv.scanner.dtd.DTDEventListener.unparsedEntityDecl.

Receive notification of an unparsed entity declaration.
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

ABANDON_URI_SNIFFINGback to summary
protected static final String ABANDON_URI_SNIFFING

when this value is in the above set, that indicates we couldn't detect what URIs are going to be used with that prefix.

attributeDeclsback to summary
protected final Map<String, Map<String, Object>> attributeDecls

map from element name to (map from attribute name to AttModel).

CONNECTOR_UNKNOWNback to summary
protected final short CONNECTOR_UNKNOWN
connectorTypeback to summary
protected short connectorType
contentModelback to summary
protected Expression contentModel
contextStackback to summary
protected DTDReader.Context contextStack
controllerback to summary
protected final Controller controller
datatypeLibraryback to summary
private DatatypeLibrary datatypeLibrary

Used to create Datatype objects. This datatype library should be able to handle XML Schema datatypes because those are the names we ask to this library.

declaredLocationsback to summary
private final Map<Object, Locator> declaredLocations

this map remembers where ReferenceExps are defined, and where user defined types are defined. some ReferenceExp can be defined in more than one location. In those cases, the last one is always memorized. This behavior is essential to correctly implement TREX constraint that no two <define> is allowed in the same file.

elementDeclsback to summary
protected final Map<String, Object> elementDecls

map from element name to its content model.

ERR_UNDECLARED_PREFIXback to summary
public static final String ERR_UNDECLARED_PREFIX
ERR_UNDEFINED_ELEMENTback to summary
public static final String ERR_UNDEFINED_ELEMENT
grammarback to summary
protected final TREXGrammar grammar
locatorback to summary
protected Locator locator
namespacesback to summary
protected final Map<String, Set<String>> namespaces

map from prefix to set of possible namespace URI. default namespace (without prefix) is stored by using "" as a key.

reportedXmlnsWarningback to summary
private boolean reportedXmlnsWarning

this flag is set to true after reporting WRN_ATTEMPT_TO_USE_NAMESPACE. this is used to prevent issuing the same warning more than once.

WRN_ATTEMPT_TO_USE_NAMESPACEback to summary
public static final String WRN_ATTEMPT_TO_USE_NAMESPACE

Constructor Detail

DTDReaderback to summary
public DTDReader(GrammarReaderController controller, ExpressionPool pool)

Method Detail

attributeDeclback to summary
public void attributeDecl(String elementName, String attributeName, String attributeType, String[] enums, short attributeUse, String defaultValue) throws SAXException

Implements com.sun.msv.scanner.dtd.DTDEventListener.attributeDecl.

Doc from com.sun.msv.scanner.dtd.DTDEventListener.attributeDecl.

For each entry in an ATTLIST declaration, this event will be fired.

DTD allows the same attributes to be declared more than once, and in that case the first one wins. I think this method will be only fired for the first one, but I need to check.

charactersback to summary
public void characters(char[] ch, int start, int length) throws SAXException

Implements com.sun.msv.scanner.dtd.DTDEventListener.characters.

Doc from com.sun.msv.scanner.dtd.DTDEventListener.characters.

Receive notification of character data.

The Parser will call this method to report each chunk of character data. SAX parsers may return all contiguous character data in a single chunk, or they may split it into several chunks; however, all of the characters in any single event must come from the same external entity, so that the Locator provides useful information.

The application must not attempt to read from the array outside of the specified range.

Note that some parsers will report whitespace using the ignorableWhitespace() method rather than this one (validating parsers must do so).

Parameters
ch:char[]

The characters from the DTD.

start:int

The start position in the array.

length:int

The number of characters to read from the array.

childElementback to summary
public void childElement(String elementName, short occurence)

Implements com.sun.msv.scanner.dtd.DTDEventListener.childElement.

combineToContentModelback to summary
protected void combineToContentModel(Expression exp)
commentback to summary
public void comment(String n) throws SAXException

Implements com.sun.msv.scanner.dtd.DTDEventListener.comment.

Doc from com.sun.msv.scanner.dtd.DTDEventListener.comment.

Receive notification that a comment has been read.

Note that processing instructions are the mechanism designed to hold information for consumption by applications, not comments. XML systems may rely on applications being able to access information found in processing instructions; this is not true of comments, which are typically discarded.

Parameters
n:String

the text within the comment delimiters.

connectorback to summary
public void connector(short type) throws SAXException

Implements com.sun.msv.scanner.dtd.DTDEventListener.connector.

Doc from com.sun.msv.scanner.dtd.DTDEventListener.connector.

Connectors in one model group is guaranteed to be the same.

IOW, you'll never see an event sequence like (a|b,c)

Returns:void

CHOICE or SEQUENCE.

createAttributeBodyback to summary
protected Expression createAttributeBody(String elementName, String attributeName, String attributeType, String[] enums, short attributeUse, String defaultValue) throws SAXException

Creates an attribute body from the declaration found in the DTD.

createDatatypeback to summary
public Datatype createDatatype(String name)

Obtains a Datatype object from its name.

createElementDeclarationback to summary
protected ReferenceExp createElementDeclaration(String elementName)

Creates an element declaration in the grammar object by using the parsed result.

Returns:ReferenceExp

ReferenceExp that corresponds to the created element declaration.

createElementDeclarationsback to summary
protected Expression createElementDeclarations()

Creates element declarations from the parsed result.

Returns:Expression

An expression that corresponds to the choice of all element declarations. This will be used to implement "ANY".

createInitialNamespaceMapback to summary
protected static final Map<String, Set<String>> createInitialNamespaceMap()
endCDATAback to summary
public void endCDATA() throws SAXException

Implements com.sun.msv.scanner.dtd.DTDEventListener.endCDATA.

Doc from com.sun.msv.scanner.dtd.DTDEventListener.endCDATA.

Receive notification that the CDATA section finished.

endContentModelback to summary
public void endContentModel(String elementName, short type)

Implements com.sun.msv.scanner.dtd.DTDEventListener.endContentModel.

Doc from com.sun.msv.scanner.dtd.DTDEventListener.endContentModel.

receives notification that parsing of content model is finished.

endDTDback to summary
public void endDTD() throws SAXException

Implements com.sun.msv.scanner.dtd.DTDEventListener.endDTD.

Doc from com.sun.msv.scanner.dtd.DTDEventListener.endDTD.

Receive notification of the end of a DTD. The parser will invoke this method only once.

endModelGroupback to summary
public void endModelGroup(short occurence)

Implements com.sun.msv.scanner.dtd.DTDEventListener.endModelGroup.

errorback to summary
public void error(SAXParseException e) throws SAXException

Implements com.sun.msv.scanner.dtd.DTDEventListener.error.

externalGeneralEntityDeclback to summary
public void externalGeneralEntityDecl(String n, String p, String s) throws SAXException

Implements com.sun.msv.scanner.dtd.DTDEventListener.externalGeneralEntityDecl.

Doc from com.sun.msv.scanner.dtd.DTDEventListener.externalGeneralEntityDecl.

Receive notification of an external parsed general entity declaration event.

If a system identifier is present, and it is a relative URL, the parser will have resolved it fully before passing it through this method to a listener.

Parameters
n:String

The entity name.

p:String

The entity's public identifier, or null if none was given.

s:String

The entity's system identifier.

externalParameterEntityDeclback to summary
public void externalParameterEntityDecl(String n, String p, String s) throws SAXException

Implements com.sun.msv.scanner.dtd.DTDEventListener.externalParameterEntityDecl.

Doc from com.sun.msv.scanner.dtd.DTDEventListener.externalParameterEntityDecl.

Receive notification of an external parameter entity declaration event.

If a system identifier is present, and it is a relative URL, the parser will have resolved it fully before passing it through this method to a listener.

Parameters
n:String

The parameter entity name.

p:String

The entity's public identifier, or null if none was given.

s:String

The entity's system identifier.

fatalErrorback to summary
public void fatalError(SAXParseException e) throws SAXException

Implements com.sun.msv.scanner.dtd.DTDEventListener.fatalError.

getAnyExpback to summary
protected final ReferenceExp getAnyExp()

Gets the expression that corresponds to the "ANY".

Its defeinition will be later filled by the choice of all elements.

getDeclaredLocationOfback to summary
public Locator getDeclaredLocationOf(Object o)
getNameClassback to summary
protected NameClass getNameClass(String maybeQName, boolean handleAsAttribute)
getPossibleNamespacesback to summary
private Set<String> getPossibleNamespaces(String prefix)
getResultback to summary
public TREXGrammar getResult()

Obtains the parsed grammar object.

Returns:TREXGrammar

null if there was an error. Otherwise a parsed grammar object will be returned.

ignorableWhitespaceback to summary
public void ignorableWhitespace(char[] ch, int start, int length) throws SAXException

Implements com.sun.msv.scanner.dtd.DTDEventListener.ignorableWhitespace.

Doc from com.sun.msv.scanner.dtd.DTDEventListener.ignorableWhitespace.

Receive notification of ignorable whitespace in element content.

Validating Parsers must use this method to report each chunk of ignorable whitespace (see the W3C XML 1.0 recommendation, section 2.10): non-validating parsers may also use this method if they are capable of parsing and using content models.

SAX parsers may return all contiguous whitespace in a single chunk, or they may split it into several chunks; however, all of the characters in any single event must come from the same external entity, so that the Locator provides useful information.

The application must not attempt to read from the array outside of the specified range.

Parameters
ch:char[]

The characters from the DTD.

start:int

The start position in the array.

length:int

The number of characters to read from the array.

internalGeneralEntityDeclback to summary
public void internalGeneralEntityDecl(String n, String v) throws SAXException

Implements com.sun.msv.scanner.dtd.DTDEventListener.internalGeneralEntityDecl.

Doc from com.sun.msv.scanner.dtd.DTDEventListener.internalGeneralEntityDecl.

Receive notification of a internal general entity declaration event.

Parameters
n:String

The internal general entity name.

v:String

The value of the entity, which may include unexpanded entity references. Character references will have been expanded.

internalParameterEntityDeclback to summary
public void internalParameterEntityDecl(String n, String v) throws SAXException

Implements com.sun.msv.scanner.dtd.DTDEventListener.internalParameterEntityDecl.

Doc from com.sun.msv.scanner.dtd.DTDEventListener.internalParameterEntityDecl.

Receive notification of a internal parameter entity declaration event.

Parameters
n:String

The internal parameter entity name.

v:String

The value of the entity, which may include unexpanded entity references. Character references will have been expanded.

isUnparsedEntityback to summary
public boolean isUnparsedEntity(String entityName)
mixedElementback to summary
public void mixedElement(String elementName)

Implements com.sun.msv.scanner.dtd.DTDEventListener.mixedElement.

Doc from com.sun.msv.scanner.dtd.DTDEventListener.mixedElement.

receives notification of child element of mixed content model. this method is called for each child element.

notationDeclback to summary
public void notationDecl(String name, String publicId, String systemId) throws SAXException

Implements com.sun.msv.scanner.dtd.DTDEventListener.notationDecl.

Doc from com.sun.msv.scanner.dtd.DTDEventListener.notationDecl.

Receive notification of a Notation Declaration. Notation declarations are used by elements and entities for identifying embedded non-XML data.

Parameters
name:String

The notation name, referred to by entities and elements.

publicId:String

The public identifier

systemId:String

The system identifier

parseback to summary
public static TREXGrammar parse(InputSource source, GrammarReaderController controller)
parseback to summary
public static TREXGrammar parse(InputSource source, GrammarReaderController controller, ExpressionPool pool)
processingInstructionback to summary
public void processingInstruction(String target, String data) throws SAXException

Implements com.sun.msv.scanner.dtd.DTDEventListener.processingInstruction.

Doc from com.sun.msv.scanner.dtd.DTDEventListener.processingInstruction.

Receive notification of a Processing Instruction. Processing instructions contain information meaningful to the application.

Parameters
target:String

The target of the proceessing instruction which should have meaning to the application.

data:String

The instruction itself which should contain valid XML characters.

processOccursback to summary
protected Expression processOccurs(Expression item, short occurence)

processes occurence (?,+,*) of the given expression

resolveNamespacePrefixback to summary
public String resolveNamespacePrefix(String prefix)
setDatatypeLibraryback to summary
public void setDatatypeLibrary(DatatypeLibrary datatypeLibrary)
setDeclaredLocationOfback to summary
public void setDeclaredLocationOf(Object o)
setDocumentLocatorback to summary
public void setDocumentLocator(Locator loc)

Implements com.sun.msv.scanner.dtd.DTDEventListener.setDocumentLocator.

splitQNameback to summary
protected String[] splitQName(String maybeQName)

returns an array of (URI,localName).

startCDATAback to summary
public void startCDATA() throws SAXException

Implements com.sun.msv.scanner.dtd.DTDEventListener.startCDATA.

Doc from com.sun.msv.scanner.dtd.DTDEventListener.startCDATA.

Receive notification that a CDATA section is beginning. Data in a CDATA section is is reported through the appropriate event, either characters() or ignorableWhitespace.

startContentModelback to summary
public void startContentModel(String elementName, short type)

Implements com.sun.msv.scanner.dtd.DTDEventListener.startContentModel.

Doc from com.sun.msv.scanner.dtd.DTDEventListener.startContentModel.

receives notification that parsing of content model is beginning.

Parameters
elementName:String

name of the element whose content model is going to be defined.

type:short

CONTENT_MODEL_EMPTY this element has EMPTY content model. This notification will be immediately followed by the corresponding endContentModel. CONTENT_MODEL_ANY this element has ANY content model. This notification will be immediately followed by the corresponding endContentModel. CONTENT_MODEL_MIXED this element has mixed content model. #PCDATA will not be reported. each child element will be reported by mixedElement method. CONTENT_MODEL_CHILDREN this elemen has child content model. The actual content model will be reported by childElement, startModelGroup, endModelGroup, and connector methods. Possible call sequences are: START := MODEL_GROUP MODEL_GROUP := startModelGroup TOKEN (connector TOKEN)* endModelGroup TOKEN := childElement | MODEL_GROUP

startDTDback to summary
public void startDTD(InputEntity in) throws SAXException

Implements com.sun.msv.scanner.dtd.DTDEventListener.startDTD.

Doc from com.sun.msv.scanner.dtd.DTDEventListener.startDTD.

Receive notification of the beginning of the DTD.

Parameters
in:InputEntity

Current input entity.

startModelGroupback to summary
public void startModelGroup()

Implements com.sun.msv.scanner.dtd.DTDEventListener.startModelGroup.

unparsedEntityDeclback to summary
public void unparsedEntityDecl(String name, String publicId, String systemId, String notationName) throws SAXException

Implements com.sun.msv.scanner.dtd.DTDEventListener.unparsedEntityDecl.

Doc from com.sun.msv.scanner.dtd.DTDEventListener.unparsedEntityDecl.

Receive notification of an unparsed entity declaration. Unparsed entities are non-XML data.

Parameters
name:String

The name of the unparsed entity.

publicId:String

The public identifier

systemId:String

The system identifier

notationName:String

The associated notation

warningback to summary
public void warning(SAXParseException e) throws SAXException

Implements com.sun.msv.scanner.dtd.DTDEventListener.warning.

com.sun.msv.reader.dtd back to summary

private Class DTDReader.AttModel

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv boolean
pack-priv Expression

Constructor Summary

AccessConstructor and Description
pack-priv
AttModel(Expression value, boolean required)

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

requiredback to summary
pack-priv boolean required
valueback to summary
pack-priv Expression value

Constructor Detail

AttModelback to summary
pack-priv AttModel(Expression value, boolean required)
com.sun.msv.reader.dtd back to summary

protected Class DTDReader.Context

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv final short
pack-priv final Expression
pack-priv final DTDReader.Context

Constructor Summary

AccessConstructor and Description
pack-priv
Context(DTDReader.Context prev, Expression exp, short connector)

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

connectorTypeback to summary
pack-priv final short connectorType
expback to summary
pack-priv final Expression exp
previousback to summary
pack-priv final DTDReader.Context previous

Constructor Detail

Contextback to summary
pack-priv Context(DTDReader.Context prev, Expression exp, short connector)