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

Quick Search    Search Deep

com.meterware.httpunit.parsing
Class NekoDOMParser  view NekoDOMParser download NekoDOMParser.java

java.lang.Object
  extended byorg.apache.xerces.parsers.XMLParser
      extended byorg.apache.xerces.parsers.AbstractXMLDocumentParser
          extended byorg.apache.xerces.parsers.AbstractDOMParser
              extended byorg.apache.xerces.parsers.DOMParser
                  extended bycom.meterware.httpunit.parsing.NekoDOMParser
All Implemented Interfaces:
org.apache.xerces.xni.XMLDocumentHandler, org.apache.xerces.xni.XMLDTDContentModelHandler, org.apache.xerces.xni.XMLDTDHandler

class NekoDOMParser
extends org.apache.xerces.parsers.DOMParser


Nested Class Summary
(package private) static class NekoDOMParser.ScriptException
           
 
Field Summary
private  DocumentAdapter _documentAdapter
           
private  org.w3c.dom.Node _documentNode
          The node representing the document.
private static java.lang.String ATTRIBUTE_NAME_CASE
          Attribute case settings.
private static java.lang.String AUGMENTATIONS
          Augmentations feature identifier.
private static java.lang.String FILTERS
          Filters property identifier.
private static java.lang.String HTML_DOCUMENT_CLASS_NAME
           
private static java.lang.String REPORT_ERRORS
          Error reporting feature identifier.
private static java.lang.String TAG_NAME_CASE
          Element case settings.
 
Fields inherited from class org.apache.xerces.parsers.DOMParser
SYMBOL_TABLE, XMLGRAMMAR_POOL
 
Fields inherited from class org.apache.xerces.parsers.AbstractDOMParser
abort, CORE_DOCUMENT_CLASS_NAME, CREATE_CDATA_NODES_FEATURE, CREATE_ENTITY_REF_NODES, CURRENT_ELEMENT_NODE, DEFAULT_DOCUMENT_CLASS_NAME, DEFER_NODE_EXPANSION, DOCUMENT_CLASS_NAME, fBaseURIStack, fCreateCDATANodes, fCreateEntityRefNodes, fCurrentCDATASection, fCurrentCDATASectionIndex, fCurrentEntityDecl, fCurrentNode, fCurrentNodeIndex, fDeferNodeExpansion, fDeferredDocumentImpl, fDeferredEntityDecl, fDocument, fDocumentClassName, fDocumentImpl, fDocumentIndex, fDocumentType, fDocumentTypeIndex, fDOMFilter, fErrorHandler, fFilterReject, fFirstChunk, fInCDATASection, fIncludeComments, fIncludeIgnorableWhitespace, fInDTD, fInDTDExternalSubset, fInEntityRef, fInternalSubset, fNamespaceAware, fRejectedElement, fRoot, fSkippedElemStack, fStorePSVI, fStringBuffer, INCLUDE_COMMENTS_FEATURE, INCLUDE_IGNORABLE_WHITESPACE, NAMESPACES, PSVI_DOCUMENT_CLASS_NAME
 
Fields inherited from class org.apache.xerces.parsers.AbstractXMLDocumentParser
fDocumentSource, fDTDContentModelSource, fDTDSource
 
Fields inherited from class org.apache.xerces.parsers.XMLParser
ENTITY_RESOLVER, ERROR_HANDLER, fConfiguration
 
Fields inherited from interface org.apache.xerces.xni.XMLDTDHandler
CONDITIONAL_IGNORE, CONDITIONAL_INCLUDE
 
Fields inherited from interface org.apache.xerces.xni.XMLDTDContentModelHandler
OCCURS_ONE_OR_MORE, OCCURS_ZERO_OR_MORE, OCCURS_ZERO_OR_ONE, SEPARATOR_CHOICE, SEPARATOR_SEQUENCE
 
Constructor Summary
(package private) NekoDOMParser(HTMLConfiguration configuration, DocumentAdapter adapter)
           
 
Method Summary
private  org.w3c.dom.Node getCurrentElementNode()
           
(package private)  java.lang.String getIncludedScript(java.lang.String srcAttribute)
           
(package private)  com.meterware.httpunit.scripting.ScriptableDelegate getScriptableDelegate()
           
(package private) static NekoDOMParser newParser(DocumentAdapter adapter, java.net.URL url)
           
 
Methods inherited from class org.apache.xerces.parsers.DOMParser
getEntityResolver, getErrorHandler, getFeature, getProperty, parse, parse, setEntityResolver, setErrorHandler, setFeature, setProperty
 
Methods inherited from class org.apache.xerces.parsers.AbstractDOMParser
abort, attributeDecl, characters, comment, createAttrNode, createElementNode, doctypeDecl, elementDecl, emptyElement, endAttlist, endCDATA, endConditional, endDocument, endDTD, endElement, endExternalSubset, endGeneralEntity, endParameterEntity, externalEntityDecl, getDocument, getDocumentClassName, handleBaseURI, handleBaseURI, ignorableWhitespace, ignoredCharacters, internalEntityDecl, notationDecl, processingInstruction, reset, setCharacterData, setDocumentClassName, setLocale, startAttlist, startCDATA, startConditional, startDocument, startDTD, startElement, startExternalSubset, startGeneralEntity, startParameterEntity, textDecl, unparsedEntityDecl, xmlDecl
 
Methods inherited from class org.apache.xerces.parsers.AbstractXMLDocumentParser
any, element, empty, endContentModel, endGroup, getDocumentSource, getDTDContentModelSource, getDTDSource, occurrence, pcdata, separator, setDocumentSource, setDTDContentModelSource, setDTDSource, startContentModel, startGroup
 
Methods inherited from class org.apache.xerces.parsers.XMLParser
parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HTML_DOCUMENT_CLASS_NAME

private static final java.lang.String HTML_DOCUMENT_CLASS_NAME
See Also:
Constant Field Values

REPORT_ERRORS

private static final java.lang.String REPORT_ERRORS
Error reporting feature identifier.

See Also:
Constant Field Values

AUGMENTATIONS

private static final java.lang.String AUGMENTATIONS
Augmentations feature identifier.

See Also:
Constant Field Values

FILTERS

private static final java.lang.String FILTERS
Filters property identifier.

See Also:
Constant Field Values

TAG_NAME_CASE

private static final java.lang.String TAG_NAME_CASE
Element case settings. possible values: "upper", "lower", "match"

See Also:
Constant Field Values

ATTRIBUTE_NAME_CASE

private static final java.lang.String ATTRIBUTE_NAME_CASE
Attribute case settings. possible values: "upper", "lower", "no-change"

See Also:
Constant Field Values

_documentAdapter

private DocumentAdapter _documentAdapter

_documentNode

private org.w3c.dom.Node _documentNode
The node representing the document.

Constructor Detail

NekoDOMParser

NekoDOMParser(HTMLConfiguration configuration,
              DocumentAdapter adapter)
Method Detail

newParser

static NekoDOMParser newParser(DocumentAdapter adapter,
                               java.net.URL url)

getScriptableDelegate

com.meterware.httpunit.scripting.ScriptableDelegate getScriptableDelegate()

getCurrentElementNode

private org.w3c.dom.Node getCurrentElementNode()

getIncludedScript

java.lang.String getIncludedScript(java.lang.String srcAttribute)