Package | Description |
---|---|
org.exolab.castor.xml.dtd |
The XML DTD Object Model
|
org.exolab.castor.xml.dtd.parser |
The XML DTD Parser API
|
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
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.
|
Copyright © 2022. All rights reserved.