Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep
A C D E F G I L N O P R S T V X _

A

ANY - Static variable in interface org.merlotxml.util.xml.DTDConstants
 
addDTD(DTDCacheEntry, String) - Method in class org.merlotxml.util.xml.ValidDocument
 
addEncoding(String, String) - Static method in class org.merlotxml.util.xml.EncodingMap
 
addEntityResolver(EntityResolver) - Method in interface org.merlotxml.util.xml.DOMLiaison
 

C

CDATA - Static variable in interface org.merlotxml.util.xml.DTDConstants
 
COMMENT - Static variable in interface org.merlotxml.util.xml.DTDConstants
 
COMMENT_KEY - Static variable in interface org.merlotxml.util.xml.DTDConstants
 
CONTENT_CONCAT - Static variable in interface org.merlotxml.util.xml.DTDConstants
 
CONTENT_GROUP - Static variable in interface org.merlotxml.util.xml.DTDConstants
 
CONTENT_LEAF - Static variable in interface org.merlotxml.util.xml.DTDConstants
 
CONTENT_ONEMAX - Static variable in interface org.merlotxml.util.xml.DTDConstants
 
CONTENT_OR - Static variable in interface org.merlotxml.util.xml.DTDConstants
 
CONTENT_PLUS - Static variable in interface org.merlotxml.util.xml.DTDConstants
 
CONTENT_SINGLE - Static variable in interface org.merlotxml.util.xml.DTDConstants
 
CONTENT_STAR - Static variable in interface org.merlotxml.util.xml.DTDConstants
 
checkCacheEntryTimestamp(DTDCacheEntry) - Method in class org.merlotxml.util.xml.DTDCache
Checks the timestamp associated with a cache entry and reloads the dtd file if it has changed.
compareTo(Object) - Method in class org.merlotxml.util.xml.DTDCacheEntry
 
createDocument() - Method in interface org.merlotxml.util.xml.DOMLiaison
Create a Document
createValidDocument() - Method in interface org.merlotxml.util.xml.ValidDOMLiaison
Creates a new document that should maintain validity.

D

DOMLiaison - interface org.merlotxml.util.xml.DOMLiaison.
DOM Liaison This interface makes up for deficiencies in the DOM API.
DOMLiaisonFactory - class org.merlotxml.util.xml.DOMLiaisonFactory.
Convenience class to make getting a DOM Liaison easier
DOMLiaisonFactory() - Constructor for class org.merlotxml.util.xml.DOMLiaisonFactory
 
DOMLiaisonImplException - exception org.merlotxml.util.xml.DOMLiaisonImplException.
DOM Liaison Implementation Exception Used to wrap exceptions thrown by implementors of DOMLiaison
DOMLiaisonImplException(Exception) - Constructor for class org.merlotxml.util.xml.DOMLiaisonImplException
 
DOMLiaisonImplException(Exception, String) - Constructor for class org.merlotxml.util.xml.DOMLiaisonImplException
 
DOMUtil - class org.merlotxml.util.xml.DOMUtil.
DOM Utilities
DOMUtil() - Constructor for class org.merlotxml.util.xml.DOMUtil
 
DTDAttribute - interface org.merlotxml.util.xml.DTDAttribute.
This interface provides access to an attribute
DTDCache - class org.merlotxml.util.xml.DTDCache.
This singleton class is responsible for loading and caching all DTD's required by the system.
DTDCache() - Constructor for class org.merlotxml.util.xml.DTDCache
 
DTDCacheEntry - class org.merlotxml.util.xml.DTDCacheEntry.
This contains information we need to keep with a dtd that has been cached.
DTDCacheEntry(String, String) - Constructor for class org.merlotxml.util.xml.DTDCacheEntry
 
DTDConstants - interface org.merlotxml.util.xml.DTDConstants.
provides constant values
DTDContentSpec - interface org.merlotxml.util.xml.DTDContentSpec.
Interface to specify a ContentSpecification
DTDContentSpecNode - interface org.merlotxml.util.xml.DTDContentSpecNode.
Interface to specify a ContentSpecification node.
DTDDocument - interface org.merlotxml.util.xml.DTDDocument.
This interface provides means to access the DTD definitions in a manner that can be independent of whatever third party underlying structures are used for the implementation.
DTDElement - interface org.merlotxml.util.xml.DTDElement.
This is an interface that will provide DTD information about an element definition.
debug(String) - Method in class org.merlotxml.util.xml.DTDCache
simple debugging print routine

E

EMPTY - Static variable in interface org.merlotxml.util.xml.DTDConstants
 
EncodingMap - class org.merlotxml.util.xml.EncodingMap.
This provides a mapping of XML character encoding types to java encoding types
EncodingMap() - Constructor for class org.merlotxml.util.xml.EncodingMap
 
elementIsValid(Element, boolean) - Method in interface org.merlotxml.util.xml.DTDDocument
Returns whether or not an element (with or without its children) is valid according to its DTD definition.

F

FILE_PROTOCOL_NAME - Static variable in class org.merlotxml.util.xml.DTDCache
url prefix to know we're working with a local file
findCacheEntryBySystemID(String) - Method in class org.merlotxml.util.xml.DTDCache
 
findDTD(String, String, String) - Method in class org.merlotxml.util.xml.DTDCache
find a DTD based on the public id and system id
findDTDFromClassLoader(String, String) - Method in class org.merlotxml.util.xml.DTDCache
 
findDTDFromDTDPath(String, String) - Method in class org.merlotxml.util.xml.DTDCache
 
findDTDFromFile(String) - Method in class org.merlotxml.util.xml.DTDCache
see if the systemID exists as-is (is the absolute path embedded in the xml?)
findDTDFromFile(String, String) - Method in class org.merlotxml.util.xml.DTDCache
 
findDTDFromPlugins(String, String) - Method in class org.merlotxml.util.xml.DTDCache
 
findDTDFromURL(String, String) - Method in class org.merlotxml.util.xml.DTDCache
 
findDTDbyPublicId(String, String) - Method in class org.merlotxml.util.xml.DTDCache
Looks in our cache for a file with a given public ID
findDTDbySystemId(String, String, String) - Method in class org.merlotxml.util.xml.DTDCache
Finds a dtd given a system identifier.
fixSlashes(String) - Method in class org.merlotxml.util.xml.DTDCache
make all slashes forward slashes cause windows sucks
fixslashes(String) - Method in class org.merlotxml.util.xml.DTDCache
Deprecated. use fixSlashes instead
formatFileName(String) - Method in class org.merlotxml.util.xml.DTDCache
 

G

GROUP - Static variable in interface org.merlotxml.util.xml.DTDConstants
 
getAttribute(String) - Method in interface org.merlotxml.util.xml.DTDElement
Returns a single named attribute for this element
getAttributes() - Method in interface org.merlotxml.util.xml.DTDElement
Returns the list of attributes
getCachedDTDEntries() - Method in class org.merlotxml.util.xml.DTDCache
 
getCachedDTDStream() - Method in class org.merlotxml.util.xml.DTDCacheEntry
 
getContentSpec() - Method in interface org.merlotxml.util.xml.DTDElement
Deprecated.  
getDOMLiaison() - Static method in class org.merlotxml.util.xml.DOMLiaisonFactory
 
getDTDAttributes(String) - Method in class org.merlotxml.util.xml.ValidDocument
 
getDTDCacheEntry() - Method in class org.merlotxml.util.xml.ValidDocument
 
getDTDDocument(String) - Method in class org.merlotxml.util.xml.ValidDocument
 
getDTDForElement(Element) - Method in class org.merlotxml.util.xml.ValidDocument
 
getDTDPath() - Method in class org.merlotxml.util.xml.DTDCache
 
getDTDStackCopy() - Method in class org.merlotxml.util.xml.ValidDocument
Deprecated.  
getDefaultType() - Method in interface org.merlotxml.util.xml.DTDAttribute
Returns IMPLIED or REQUIRED, or NONE if nothing is specified
getDefaultValue() - Method in interface org.merlotxml.util.xml.DTDAttribute
returns the default value if none is specified as a String
getDocument() - Method in class org.merlotxml.util.xml.ValidDocument
 
getElements() - Method in interface org.merlotxml.util.xml.DTDDocument
Returns the list of declared elements from the document.
getEncoding() - Method in class org.merlotxml.util.xml.ValidDocument
 
getExternalID() - Method in interface org.merlotxml.util.xml.DTDDocument
Returns the SYSTEM identifier for a dtd
getFileLocation() - Method in class org.merlotxml.util.xml.ValidDocument
 
getFilePath() - Method in class org.merlotxml.util.xml.DTDCacheEntry
 
getInsertableElements(Element, int) - Method in interface org.merlotxml.util.xml.DTDDocument
Returns the list of the possible elements that can be inserted as a child in an element.
getJavaFromXML(String) - Static method in class org.merlotxml.util.xml.EncodingMap
 
getLeft() - Method in interface org.merlotxml.util.xml.DTDContentSpecNode
 
getMainDTDDocument() - Method in class org.merlotxml.util.xml.ValidDocument
 
getName() - Method in interface org.merlotxml.util.xml.DTDAttribute
Returns the attribute name.
getName() - Method in interface org.merlotxml.util.xml.DTDContentSpecNode
 
getName() - Method in interface org.merlotxml.util.xml.DTDDocument
Returns the name of the DTD
getName() - Method in interface org.merlotxml.util.xml.DTDElement
Returns the name of this element
getOrdinality() - Method in interface org.merlotxml.util.xml.DTDContentSpecNode
 
getParsedDTD() - Method in class org.merlotxml.util.xml.DTDCacheEntry
 
getPossibleRootNames() - Method in class org.merlotxml.util.xml.DTDCacheEntry
 
getPublicId() - Method in class org.merlotxml.util.xml.DTDCacheEntry
 
getRight() - Method in interface org.merlotxml.util.xml.DTDContentSpecNode
 
getRootNode() - Method in interface org.merlotxml.util.xml.DTDContentSpec
returns the root node of the spec tree or null if this doesn't apply to this type
getSharedInstance() - Static method in class org.merlotxml.util.xml.DTDCache
gets the singleton instance.
getSystemId() - Method in class org.merlotxml.util.xml.DTDCacheEntry
 
getTimestamp() - Method in class org.merlotxml.util.xml.DTDCacheEntry
 
getTokens() - Method in interface org.merlotxml.util.xml.DTDAttribute
returns an enumeration consisting of String objects that are the tokens for this attribute definition
getType() - Method in interface org.merlotxml.util.xml.DTDAttribute
returns the attribute type, either ANY, CDATA, TOKEN_GROUP, NMTOKEN, NMTOKENS.
getType() - Method in interface org.merlotxml.util.xml.DTDContentSpec
Returns the type of this content specification
getType() - Method in interface org.merlotxml.util.xml.DTDContentSpecNode
 
getValue(Node, String) - Static method in class org.merlotxml.util.xml.XPathUtil
 
getValueList(Node, String) - Static method in class org.merlotxml.util.xml.XPathUtil
 
getXMLFromJava(String) - Static method in class org.merlotxml.util.xml.EncodingMap
 

I

ID - Static variable in interface org.merlotxml.util.xml.DTDConstants
 
IDREF - Static variable in interface org.merlotxml.util.xml.DTDConstants
 
IDREFS - Static variable in interface org.merlotxml.util.xml.DTDConstants
 
IMPLIED - Static variable in interface org.merlotxml.util.xml.DTDConstants
 
importNode(Node, Node) - Static method in class org.merlotxml.util.xml.DOMUtil
Import a single node into a document.
importNode(Node, Node, boolean) - Static method in class org.merlotxml.util.xml.DOMUtil
Import a single node into a document.
isLeaf() - Method in interface org.merlotxml.util.xml.DTDContentSpecNode
 

L

lazyInitElements() - Method in class org.merlotxml.util.xml.ValidDocument
 
loadDTDIntoCache(InputStream, DTDCacheEntry) - Method in class org.merlotxml.util.xml.DTDCache
Loads a dtd into a DTDCacheEntry.
loadDTDIntoCache(Reader, DTDCacheEntry) - Method in class org.merlotxml.util.xml.DTDCache
Loads a dtd into a DTDCacheEntry.

N

NMTOKEN - Static variable in interface org.merlotxml.util.xml.DTDConstants
 
NMTOKENS - Static variable in interface org.merlotxml.util.xml.DTDConstants
 
NONE - Static variable in interface org.merlotxml.util.xml.DTDConstants
 

O

org.merlotxml.util.xml - package org.merlotxml.util.xml
 

P

PCDATA - Static variable in interface org.merlotxml.util.xml.DTDConstants
 
PCDATA_KEY - Static variable in interface org.merlotxml.util.xml.DTDConstants
 
PROCESSING_INSTRUCTION - Static variable in interface org.merlotxml.util.xml.DTDConstants
 
PROCESSING_INSTRUCTION_KEY - Static variable in interface org.merlotxml.util.xml.DTDConstants
 
parseValidXMLStream(InputStream, String) - Method in interface org.merlotxml.util.xml.ValidDOMLiaison
This parses an XML stream using a validating parser and maintains references to the DTDDocuments used in it.
parseVariable(Node, String) - Static method in class org.merlotxml.util.xml.XPathUtil
 
parseXMLStream(InputStream) - Method in interface org.merlotxml.util.xml.DOMLiaison
Deprecated. Use parseXMLStream(Reader)
parseXMLStream(Reader) - Method in interface org.merlotxml.util.xml.DOMLiaison
 
print(Document, Writer, String, boolean) - Method in interface org.merlotxml.util.xml.DOMLiaison
Print a Document
print(ValidDocument, Writer, String, boolean) - Method in interface org.merlotxml.util.xml.ValidDOMLiaison
Print that takes a valid document so it can print out the DTD specification properly.
printCache() - Method in class org.merlotxml.util.xml.DTDCache
 

R

REQUIRED - Static variable in interface org.merlotxml.util.xml.DTDConstants
 
resolveDTD(String, String, EntityResolver, String) - Method in class org.merlotxml.util.xml.DTDCache
resolve a dtd from another resolver.

S

selectNodes(Node, String) - Static method in class org.merlotxml.util.xml.XPathUtil
Select a list of nodes using an XPath expression
selectSingleNode(Node, String) - Static method in class org.merlotxml.util.xml.XPathUtil
Select a single node using an XPath expression
setCachedDTDStream(char[]) - Method in class org.merlotxml.util.xml.DTDCacheEntry
 
setDocument(Document) - Method in class org.merlotxml.util.xml.ValidDocument
 
setEncoding(String) - Method in class org.merlotxml.util.xml.ValidDocument
 
setFileLocation(String) - Method in class org.merlotxml.util.xml.ValidDocument
 
setFilePath(String) - Method in class org.merlotxml.util.xml.DTDCacheEntry
 
setParsedDTD(DTDDocument) - Method in class org.merlotxml.util.xml.DTDCacheEntry
 
setProperties(Properties) - Method in interface org.merlotxml.util.xml.DOMLiaison
 
setProperties(Properties) - Method in class org.merlotxml.util.xml.DTDCache
set the properties.
setPublicId(String) - Method in class org.merlotxml.util.xml.DTDCacheEntry
 
setSystemId(String) - Method in class org.merlotxml.util.xml.DTDCacheEntry
 
setTimestamp(long) - Method in class org.merlotxml.util.xml.DTDCacheEntry
 
setupCacheEntryFromClassLoader(String, String) - Method in class org.merlotxml.util.xml.DTDCache
 
setupCacheEntryFromFile(String, String) - Method in class org.merlotxml.util.xml.DTDCache
 
setupCacheEntryFromPlugins(String, String) - Method in class org.merlotxml.util.xml.DTDCache
 
setupCacheEntryFromURL(String, String) - Method in class org.merlotxml.util.xml.DTDCache
 

T

TOKEN_GROUP - Static variable in interface org.merlotxml.util.xml.DTDConstants
 
toString() - Method in class org.merlotxml.util.xml.DTDCacheEntry
 
toString() - Method in interface org.merlotxml.util.xml.DTDContentSpec
returns the content spec as a XML standard string (i.e.

V

ValidDOMLiaison - interface org.merlotxml.util.xml.ValidDOMLiaison.
This interface provides means to access the DTD definitions as well as the DOM document
ValidDocument - class org.merlotxml.util.xml.ValidDocument.
Container for a validated Document and it's DTDDocuments
ValidDocument() - Constructor for class org.merlotxml.util.xml.ValidDocument
 
ValidDocument(Document) - Constructor for class org.merlotxml.util.xml.ValidDocument
 

X

XPathUtil - class org.merlotxml.util.xml.XPathUtil.
General XPath utilities
XPathUtil() - Constructor for class org.merlotxml.util.xml.XPathUtil
 

_

_cachedDTD - Variable in class org.merlotxml.util.xml.ValidDocument
 
_cachedDTDStream - Variable in class org.merlotxml.util.xml.DTDCacheEntry
cached char array of the dtd stream
_doc - Variable in class org.merlotxml.util.xml.ValidDocument
 
_dtdEntries - Variable in class org.merlotxml.util.xml.DTDCache
List of unique dtd entries.
_dtdStack - Variable in class org.merlotxml.util.xml.ValidDocument
Stack for keeping track of multiple DTD's used by a document
_dtds - Variable in class org.merlotxml.util.xml.ValidDocument
 
_element2DTD - Variable in class org.merlotxml.util.xml.ValidDocument
Reverse hashtable for looking up what document type a element came from
_elements - Variable in class org.merlotxml.util.xml.ValidDocument
Hashtable of all the defined elements in the different DTD's
_encoding - Variable in class org.merlotxml.util.xml.ValidDocument
 
_fileLocation - Variable in class org.merlotxml.util.xml.ValidDocument
location of the file used to find relative DTD's
_filePath - Variable in class org.merlotxml.util.xml.DTDCacheEntry
Path to the file containing the DTD...
_filepathCache - Variable in class org.merlotxml.util.xml.DTDCache
key is the file path (including a ! and the path within a jar), val is a DTDCacheEntry
_instance - Static variable in class org.merlotxml.util.xml.DTDCache
singleton instance
_java2xml - Static variable in class org.merlotxml.util.xml.EncodingMap
 
_maindtd - Variable in class org.merlotxml.util.xml.ValidDocument
 
_parsedDTD - Variable in class org.merlotxml.util.xml.DTDCacheEntry
a parsed version of the dtd
_properties - Variable in class org.merlotxml.util.xml.DTDCache
Properties for getting dtd path, etc.
_publicId - Variable in class org.merlotxml.util.xml.DTDCacheEntry
The publicId
_publicIdCache - Variable in class org.merlotxml.util.xml.DTDCache
key is the public id, val is a DTDCacheEntry, e.g.
_rootElement - Variable in class org.merlotxml.util.xml.DTDCacheEntry
Root element for this particular entry
_synchronizer - Static variable in class org.merlotxml.util.xml.DTDCache
synch object for creating the instance
_systemId - Variable in class org.merlotxml.util.xml.DTDCacheEntry
optional system id
_systemIdCache - Variable in class org.merlotxml.util.xml.DTDCache
key is the system id, val is a DTDCacheEntry, e.g.
_timestamp - Variable in class org.merlotxml.util.xml.DTDCacheEntry
last modification time of the file the dtd was loaded from.
_xml2java - Static variable in class org.merlotxml.util.xml.EncodingMap
 

A C D E F G I L N O P R S T V X _