|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use DTDException | |
|---|---|
| org.exolab.castor.xml.dtd | The XML DTD Object Model Version: $Revision: 6213 $ $Date: 2003-03-03 00:05:44 -0700 (Mon, 03 Mar 2003) $ Author: Alexander Totok This package is an implementation of the XML DTD specification. |
| org.exolab.castor.xml.dtd.parser | The XML DTD Parser API
Version: $Revision: 6213 $ $Date: 2003-03-03 00:05:44 -0700 (Mon, 03 Mar 2003) $
Author: Alexander Totok
This package consists of two parsers:
Initial Parser
parses the input text, searches for parameter
entity declarations (i.e. entities used only within XML DTD)
and substitutes parameter entity
references by corresponding replacement text. |
| Uses of DTDException in org.exolab.castor.xml.dtd |
|---|
| Methods in org.exolab.castor.xml.dtd that throw DTDException | |
|---|---|
void |
DTDdocument.addElement(Element element)
Adds Element Declaration to the document. |
void |
Element.addMixedContentChild(String child)
Adds name of a child to the set of children's names. |
void |
DTDdocument.addNotation(Notation notation)
Adds a Notation Declaration to the document. |
void |
Attribute.addValue(String value)
Adds the value to the set of possible values. |
AttributeDecl |
Converter.convertAttribute(Attribute dtdAttribute,
Schema schema)
Convert DTD Attribute declaration to Schema Attribute Declaration. |
Particle |
Converter.convertContentParticle(ContentParticle dtdContent,
Schema schema)
Method to convert ContentParticle object, used to implement element content in the DTD
object model, to the corresponding object in the Schema object model:
either Group or
ElementDecl. |
ElementDecl |
Converter.convertDTDElementToSchemaElement(Element dtdElement,
Schema schema)
Convert DTD Element declaration to Schema Element Declaration. |
Schema |
Converter.convertDTDObjectToSchemaObject(DTDdocument dtd,
String targetNamespace,
Map nameSpaceMap)
Convert DTD document object to corresponding Schema object. |
void |
Converter.convertDTDtoSchema(Reader reader,
Writer writer)
Convert DTD document to corresponding XML Schema document. |
void |
Converter.convertDTDtoSchema(Reader reader,
Writer writer,
String targetNameSpace,
Map<String,String> nameSpaceMap)
Convert DTD document to corresponding XML Schema document. |
static void |
Converter.main(String[] args)
Simple command line interface to read an XML DTD file and create corresponding XML Schema file. |
DTDdocument |
Converter.parseDTD(Reader reader)
Parses text of a DTD document and returns corresponding DTD document object. |
void |
Converter.process(Reader in,
Writer out,
String encoding,
String targetNamespace,
Map<String,String> namespaces)
|
void |
Converter.process(String dtdFile,
String schemaFile,
String encoding,
String targetNamespace,
Map<String,String> namespaces)
|
| Uses of DTDException in org.exolab.castor.xml.dtd.parser |
|---|
| Methods in org.exolab.castor.xml.dtd.parser that throw DTDException | |
|---|---|
void |
DTDParser.AttlistDecl(DTDdocument document)
Parsing procedure corresponding to the Attribute Declaration nonterminal. |
void |
DTDParser.ElementDecl(DTDdocument document)
Parsing procedure corresponding to the Element Declaration nonterminal. |
String |
DTDInitialParser.EntityValue(Hashtable parameterEntities)
Parsing procedure corresponding to the Entity Value nonterminal. |
DTDdocument |
DTDParser.Input()
Main parsing method that starts parsing process. |
String |
DTDInitialParser.Input()
Main method that starts parsing process. |
void |
DTDParser.Mixed(Element element)
Parsing procedure corresponding to the Mixed Element Content nonterminal. |
void |
DTDParser.NotationDecl(DTDdocument document)
Parsing procedure corresponding to the Notation Declaration nonterminal. |
void |
DTDInitialParser.PEdecl(Hashtable parameterEntities)
Parsing procedure corresponding to the Parameter Entity Declaration nonterminal. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||