- GENERAL_ENTITY - Static variable in class gov.ncbi.pmc.dtdanalyzer.Entity
-
An entity with this "type" is a general entity
- GENERAL_ENTITY - Static variable in class gov.ncbi.pmc.dtdanalyzer.SComment
-
Marks a comment that applies to a general entity definition.
- getActiveOpts() - Method in class gov.ncbi.pmc.dtdanalyzer.App
-
Get the currently active Options
- getAllAttributes() - Method in class gov.ncbi.pmc.dtdanalyzer.DTDEventHandler
-
Returns all declared Attributes
- getAllAtttributeNames() - Method in class gov.ncbi.pmc.dtdanalyzer.Attributes
-
Returns a list of unique attribute names in the collection
- getAllElements() - Method in class gov.ncbi.pmc.dtdanalyzer.DTDEventHandler
-
Returns all declared Elements
- getAllEntities() - Method in class gov.ncbi.pmc.dtdanalyzer.DTDEventHandler
-
Returns all declared Entities
- getAllSComments() - Method in class gov.ncbi.pmc.dtdanalyzer.DTDEventHandler
-
Returns the collection of structured comments
- getAttribute(String, String) - Method in class gov.ncbi.pmc.dtdanalyzer.Attributes
-
Returns the specified Attribute using the element name and the attribute
name; null if no matching attribute is in the collection.
- getAttributeIterator() - Method in class gov.ncbi.pmc.dtdanalyzer.Attributes
-
Returns an iterator of all the Attributes in the collection
- getAttributes() - Method in class gov.ncbi.pmc.dtdanalyzer.ModelBuilder
-
Returns all attribute declarations
- getAttributesByElementName(String) - Method in class gov.ncbi.pmc.dtdanalyzer.Attributes
-
Returns all attributes declared for a specific element.
- getAttributesByName(String) - Method in class gov.ncbi.pmc.dtdanalyzer.Attributes
-
Returns all attributes that have the specified name.
- getBaseUri() - Method in class gov.ncbi.pmc.dtdanalyzer.DtdModule
-
Get the base URI.
- getBuffer() - Method in class gov.ncbi.pmc.dtdanalyzer.XMLWriter
-
Because sometimes you just want the buffer.
- getChoiceOrSeq() - Method in class gov.ncbi.pmc.dtdanalyzer.ContentModel
-
Returns the choice-or-sequence child.
- getContentModel() - Method in class gov.ncbi.pmc.dtdanalyzer.Element
-
Returns the ContentModel object associated with this element definition.
- getContext(String) - Method in class gov.ncbi.pmc.dtdanalyzer.ModelBuilder
-
Returns the context of a specified element (in other words, the elements
in which the specified element may appear)
- getDebug() - Method in class gov.ncbi.pmc.dtdanalyzer.App
-
If --debug was given, this returns true, otherwise false.
- getDefaultValue() - Method in class gov.ncbi.pmc.dtdanalyzer.Attribute
-
Default value for attribute if declared; null otherwise
- getDtdModule() - Method in class gov.ncbi.pmc.dtdanalyzer.DTDEventHandler
-
Gets the DtdModule associated with this DTD.
- getDtdModule() - Method in class gov.ncbi.pmc.dtdanalyzer.ModelBuilder
-
Returns the DtdModule associated with this DTD.
- getDTDOrder() - Method in class gov.ncbi.pmc.dtdanalyzer.Element
-
Returns the number indicating the order of this element declaration
relative to other elements in the DTD
- getDtdSpec() - Method in class gov.ncbi.pmc.dtdanalyzer.App
-
Get the DtdSpecifier.
- getDtdSpec(int) - Method in class gov.ncbi.pmc.dtdanalyzer.App
-
Same, but use this when there are multiple dtds allowed.
- getDtdSpecType() - Method in class gov.ncbi.pmc.dtdanalyzer.App
-
Gets the DTD specification type, either 'd', 's', or 'p'.
- getDtdSpecType(int) - Method in class gov.ncbi.pmc.dtdanalyzer.App
-
Same, but use this one when there are multiple dtds allowed.
- getDtdSpecValue() - Method in class gov.ncbi.pmc.dtdanalyzer.App
-
Gets the DTD specification value, either a filename ('d'), a
system identifier, or a public identifier.
- getDtdSpecValue(int) - Method in class gov.ncbi.pmc.dtdanalyzer.App
-
Same, but use this one when there are multiple dtds allowed.
- getDtdTitle() - Method in class gov.ncbi.pmc.dtdanalyzer.App
-
If --title was given, this returns the value, otherwise null.
- getDtdTitle(int) - Method in class gov.ncbi.pmc.dtdanalyzer.App
-
Same, but use this when there are multiple dtds allowed.
- getDtdTitle() - Method in class gov.ncbi.pmc.dtdanalyzer.ModelBuilder
-
Returns the DTD title which will either come from the structured annotation within
the top-level DTD module, or else the command line.
- getDummyXml() - Method in class gov.ncbi.pmc.dtdanalyzer.App
-
If -s or -p were used, this should hold the dummy XML file
- getDummyXml(int) - Method in class gov.ncbi.pmc.dtdanalyzer.App
-
Same, but use this one when there are multiple dtds allowed.
- getElement(String) - Method in class gov.ncbi.pmc.dtdanalyzer.Elements
-
Returns an element with the specified name; returns null if nothing available.
- getElementIterator() - Method in class gov.ncbi.pmc.dtdanalyzer.Elements
-
Returns an iterator containing all elements in the collection
- getElements() - Method in class gov.ncbi.pmc.dtdanalyzer.ModelBuilder
-
Returns all element declarations
- getEntities() - Method in class gov.ncbi.pmc.dtdanalyzer.ModelBuilder
-
Returns all entity declarations
- getEntity(String, int) - Method in class gov.ncbi.pmc.dtdanalyzer.Entities
-
- getGeneralEntities() - Method in class gov.ncbi.pmc.dtdanalyzer.Entities
-
Returns all the non-parameter Entities declared in the DTD
- getHome() - Method in class gov.ncbi.pmc.dtdanalyzer.App
-
Get the home directory.
- getIncluded() - Method in class gov.ncbi.pmc.dtdanalyzer.Entity
-
Get the value of the included flag.
- getKids() - Method in class gov.ncbi.pmc.dtdanalyzer.ContentModel
-
Returns the Vector of allowed child elements; only meaningful when spec is "mixed".
- getKids() - Method in class gov.ncbi.pmc.dtdanalyzer.NameChoiceSeq
-
Get the kids; this should only be called if type is 1 or 2 (choice or seq)
- getKidsIter() - Method in class gov.ncbi.pmc.dtdanalyzer.ContentModel
-
If spec is "mixed" or "element", this returns an iterator over all of the child
element names (not Element objects).
- getLine() - Method in class gov.ncbi.pmc.dtdanalyzer.App
-
Get the parsed command line.
- getLineNumber() - Method in class gov.ncbi.pmc.dtdanalyzer.Location
-
Returns the line number where the declaration occured within the DTD file.
- getLocation() - Method in class gov.ncbi.pmc.dtdanalyzer.Attribute
-
Returns location of the attribute declaration
- getLocation() - Method in class gov.ncbi.pmc.dtdanalyzer.Element
-
Returns the location of the element declaration in the DTD (file name and line number)
- getLocation() - Method in class gov.ncbi.pmc.dtdanalyzer.Entity
-
Returns location of the declaration
- getMinifiedModel() - Method in class gov.ncbi.pmc.dtdanalyzer.ContentModel
-
Returns the minified model string
- getMinifiedModel() - Method in class gov.ncbi.pmc.dtdanalyzer.Element
-
Returns the minified content model string for the element declaration
- getMode() - Method in class gov.ncbi.pmc.dtdanalyzer.Attribute
-
Attribute mode (eg, #IMPLIED or #REQUIRED) or null if none declared
- getName() - Method in class gov.ncbi.pmc.dtdanalyzer.Attribute
-
Attribute name
- getName() - Method in class gov.ncbi.pmc.dtdanalyzer.Element
-
Returns the name of the element
- getName() - Method in class gov.ncbi.pmc.dtdanalyzer.Entity
-
Returns entity name
- getName() - Method in class gov.ncbi.pmc.dtdanalyzer.NameChoiceSeq
-
Returns the name for name types; empty string otherwise.
- getName() - Method in class gov.ncbi.pmc.dtdanalyzer.SComment
-
- getOutput() - Method in class gov.ncbi.pmc.dtdanalyzer.App
-
Get the output file/stream.
- getParameterEntities() - Method in class gov.ncbi.pmc.dtdanalyzer.Entities
-
Returns all parameter Entities declared in the DTD
- getParent() - Method in class gov.ncbi.pmc.dtdanalyzer.Attribute
-
Name of the attribute's parent element.
- getPublicId() - Method in class gov.ncbi.pmc.dtdanalyzer.DtdModule
-
Get the public ID
- getPublicId() - Method in class gov.ncbi.pmc.dtdanalyzer.Entity
-
Returns public id or null if none available
- getPublicId() - Method in class gov.ncbi.pmc.dtdanalyzer.Location
-
Returns public identifier for the file containing the declaration.
- getQ() - Method in class gov.ncbi.pmc.dtdanalyzer.NameChoiceSeq
-
Get the quantifier string
- getRelSysId() - Method in class gov.ncbi.pmc.dtdanalyzer.DtdModule
-
Get the relative system ID of the DTD module itself.
- getRelSysId() - Method in class gov.ncbi.pmc.dtdanalyzer.Entity
-
Get the value of the relative system identifier.
- getResolver() - Method in class gov.ncbi.pmc.dtdanalyzer.App
-
If --catalog was given, this will return a valid object, otherwise null.
- getRoots() - Method in class gov.ncbi.pmc.dtdanalyzer.App
-
If --roots was given, this returns the value as an array
- getSComment(int, String) - Method in class gov.ncbi.pmc.dtdanalyzer.SComments
-
Get an SComment by its type and name
- getSComments() - Method in class gov.ncbi.pmc.dtdanalyzer.ModelBuilder
-
Returns all the structured comments.
- getSection(String) - Method in class gov.ncbi.pmc.dtdanalyzer.SComment
-
- getSectionNameIterator() - Method in class gov.ncbi.pmc.dtdanalyzer.SComment
-
Returns an iterator of all the names of the sections in this structured
comment
- getSpec() - Method in class gov.ncbi.pmc.dtdanalyzer.ContentModel
-
Returns the spec; one of "any", "empty", "text", "mixed", or "element".
- getSystemId() - Method in class gov.ncbi.pmc.dtdanalyzer.DtdModule
-
Get the system ID
- getSystemId() - Method in class gov.ncbi.pmc.dtdanalyzer.Entity
-
Returns system id or null if none available
- getSystemId() - Method in class gov.ncbi.pmc.dtdanalyzer.Location
-
Returns the system name of the file containing the declaration.
- getTitle() - Method in class gov.ncbi.pmc.dtdanalyzer.SComment
-
- getType() - Method in class gov.ncbi.pmc.dtdanalyzer.Attribute
-
Type of the attribute, which is essentially the content model (CDATA,
enumerated list, etc).
- getType() - Method in class gov.ncbi.pmc.dtdanalyzer.Entity
-
Returns type, which will be either be Entity.PARAMETER_ENTITY (1) or
Entity.GENERAL_ENTITY (2)
- getType() - Method in class gov.ncbi.pmc.dtdanalyzer.NameChoiceSeq
-
Get the type
- getType() - Method in class gov.ncbi.pmc.dtdanalyzer.SComment
-
- getValue() - Method in class gov.ncbi.pmc.dtdanalyzer.Entity
-
Returns entity value or null if none available
- getXML() - Method in class gov.ncbi.pmc.dtdanalyzer.XMLWriter
-
Returns an XML representation of the DTD content model.
- getXslt() - Method in class gov.ncbi.pmc.dtdanalyzer.App
-
If --xslt was given, this will return a Transformer object.
- getXsltParams() - Method in class gov.ncbi.pmc.dtdanalyzer.App
-
If --params was given, this returns the keys and values in an alternating array.
- gov.ncbi.pmc.dtdanalyzer - package gov.ncbi.pmc.dtdanalyzer
-
- gov.ncbi.pmc.xml - package gov.ncbi.pmc.xml
-