|
Devsphere.com |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
match
attributes
of the template
and key
tags.
com.devsphere.xml.saxdomix.SDXBuilder
with methods for parsing an input source and logging parsing errors.characters()
SAX event.Text
node depending on the value
of the wantDOM
flag.
wantDOM
flag.
wantDOM
flag.
characters()
event.
Characters
event.
characters()
event.
fragmentTransformer
object
for clearing the parameter.
wantDOM
flag.
Comment
node depending on the value
of the wantDOM
flag.
init()
false
since the tag's body needs to be evaluated
only once in order to process the event.
true
if the event loop should be continued.
false
since the tag's body needs to be evaluated
only once in order to process the event.
true
if the current event could be processed
by a sub-tag.
false
since the tag's body needs to be evaluated
only once in order to process the event.
true
if the current event could be processed
by a sub-tag.
false
since the tag's body needs to be evaluated
only once in order to process the character data.
DOMOutputter
used as controller
com.devsphere.xml.saxdomix.SDXController
,
but it won't handle any DOM sub-trees because wantDOM()
always returns false
.com.devsphere.xml.saxdomix.SDXController
to generate JSP code for handling the DOM sub-trees.builder
object.
SDXBuilderT
object.
CDATASection
node and appends it as a child
to the given parent
element or just appends the data
to the last child of parent
if that last child is
a CDATASection
node and newCDATA
is
false
.
CDATASection
node and appends it as a child
to the given parent
element or just appends the data
to the last child of parent
if that last child is
a CDATASection
node and newCDATA
is
false
.
Comment
node and appends it as a child
to the given parent
element.
Comment
node and appends it as a child
to the given parent
element.
DocumentFragment
node
Element
node and appends it as a child
to the given parent
element.
Element
node and appends it as a child
to the given parent
element.
Element
node and appends it as a child
to the given parent
element.
Element
node and appends it as a child
to the given parent
element.
ProcessingInstruction
node and appends it
as a child to the given parent
element.
ProcessingInstruction
node and appends it
as a child to the given parent
element.
ProcessingInstruction
node and appends it
as a child to the given parent
element.
resultFilter
object.
serializer
object.
Text
node and appends it as a child
to the given parent
element or just appends the data
to the last child of parent
if that last child is
a Text
node.
Text
node and appends it as a child
to the given parent
element or just appends the data
to the last child of parent
if that last child is
a Text
node.
Text
node and appends it as a child
to the given parent
element or just appends the data
to the last child of parent
if that last child is
a Text
node.
characters()
SAX event.maxDataLength
SDXBuilder
.SDXBuilderT
.SDXOldBuilder
.continueLoop()
.
Document
used as factory for DOM nodes
endOutput()
and returns EVAL_PAGE
.
EVAL_PAGE
.
finalizeLoop()
SDXController
.wantDOM()
will return
true
.
initOutput()
and then startOutput()
.
initLoop()
and then startLoop()
.
startElement()
event and an endElement()
event.Element
nodes.endElement()
or endDocument()
SAX event.wantDOM
flag.
wantDOM
flag if false
.
endDocument()
SAX event.endDocument()
event.
EndDocument
event.
endDocument()
event.
endElement()
SAX event.handleDOM()
method depending on the value of the wantDOM
flag.
wantDOM
flag.
handleDOM()
method depending on the value of the wantDOM
flag.
endElement()
event.
EndElement
event.
endElement()
event.
parseEnded
to true
.
boolean
.
double
.
int
.
String
.
org.xml.sax.helpers.AttributesImpl
object
that holds the attributes.
ContentHandler
that should receive
the events between startBuilding()
and
endBuilding()
.
ContentHandler
that should receive
the events between startBuilding()
and
endBuilding()
.
true
if there is a page/request/session/application
variable called com.devsphere.xml.taglib.debug
and its
value is true
.
fragmentTransformer
object
for getting the error listener.
null
.
null
if the parsing was completed successfully.
- getFlag(String) -
Method in class com.devsphere.xml.taglib.support.builder.ParametersSupport
- Returns
true
if a parameter is present.
- getHandler() -
Method in class com.devsphere.xml.taglib.output.write.Serializer
- Returns a SAX handler that can be used to serialize SAX events.
- getIgnoreSpaces() -
Method in class com.devsphere.xml.taglib.process.builder.Parameters
- Gets the value of the
ignoreSpaces
flag
- getIndentLevel() -
Method in class com.devsphere.xml.taglib.process.event.EventSupport
- Returns the indent level
- getLevel() -
Method in class com.devsphere.xml.taglib.support.builder.Outputter
- Gets the indent level.
- getLevel() -
Method in class com.devsphere.examples.xml.saxdomix.OutputterBase
- Gets the indenting level.
- getLexicalHandler() -
Method in interface com.devsphere.xml.saxdomix.helpers.SDXHelperT
- Returns the SAX
LexicalHandler
that should receive
the events between startBuilding()
and
endBuilding()
.
- getLexicalHandler() -
Method in class com.devsphere.xml.saxdomix.helpers.DefaultSDXHelperT
- Returns the SAX
LexicalHandler
that should receive
the events between startBuilding()
and
endBuilding()
.
- getLogger() -
Method in class com.devsphere.xml.taglib.support.tag.CommonSupport
- Returns the logger used by this tag handler, which must be an instance
of a subclass of
com.devsphere.logging.AbstractLogger
.
- getMaxDataLength() -
Method in class com.devsphere.examples.xml.saxdomix.OutputterBase
- Gets the value of the
maxDataLength
property.
- getName() -
Method in class com.devsphere.xml.taglib.process.event.StartElement
- Returns the element's local name
- getName() -
Method in class com.devsphere.xml.taglib.process.event.EndElement
- Returns the element's local name
- getOut() -
Method in class com.devsphere.xml.taglib.output.write.Serializer
- Gets the current writer used for output.
- getOut() -
Method in class com.devsphere.xml.taglib.output.write.Filter
- Gets the current writer used for output.
- getOutput() -
Method in class com.devsphere.xml.taglib.output.builder.Parameters
- Gets the value of the
output
parameter
- getOutput() -
Method in class com.devsphere.xml.taglib.process.builder.Parameters
- Gets the value of the
output
parameter
- getOutputProperties() -
Method in class com.devsphere.xml.saxdomix.SDXTransformer
- Calls the method with the same name of the
fragmentTransformer
object
for getting the output properties.
- getOutputProperties() -
Method in class com.devsphere.xml.taglib.output.tag.Fragment
- Returns the output properties.
- getOutputProperties() -
Method in class com.devsphere.xml.taglib.output.tag.Document
- Returns the output properties.
- getOutputProperties() -
Method in class com.devsphere.xml.taglib.output.write.Serializer
- Gets the output properties of the serializer.
- getOutputProperty(String) -
Method in class com.devsphere.xml.saxdomix.SDXTransformer
- Calls the method with the same name of the
fragmentTransformer
object
for getting an output property.
- getParameter(String) -
Method in class com.devsphere.xml.saxdomix.SDXTransformer
- Calls the method with the same name of the
fragmentTransformer
object
for getting the value of a parameter.
- getParameter(String) -
Method in class com.devsphere.xml.taglib.support.builder.ParametersSupport
- Returns the first value of a parameter.
- getParameterValues(String) -
Method in class com.devsphere.xml.taglib.support.builder.ParametersSupport
- Returns the values of a parameter.
- getQname() -
Method in class com.devsphere.xml.taglib.process.event.StartElement
- Returns the element's qualified name
- getQname() -
Method in class com.devsphere.xml.taglib.process.event.EndElement
- Returns the element's qualified name
- getRootElements() -
Method in class com.devsphere.xml.taglib.process.builder.Parameters
- Gets the values of the
rootElements
parameter
- getSample() -
Method in class com.devsphere.xml.taglib.output.builder.Parameters
- Gets the value of the
sample
parameter
- getSample() -
Method in class com.devsphere.xml.taglib.process.builder.Parameters
- Gets the value of the
sample
parameter
- getSAXParser() -
Method in class com.devsphere.xml.benchmark.MainBase
- Returns a new SAX parser.
- getSAXParser(boolean) -
Method in class com.devsphere.xml.taglib.support.builder.BuilderSupport
- Creates a SAX parser object.
- getSAXParserFactory(boolean) -
Static method in class com.devsphere.xml.taglib.support.builder.BuilderSupport
- Creates a factory for SAX parsers.
- getSystemId() -
Method in class com.devsphere.xml.taglib.process.builder.Parameters
- Gets the value of the
systemId
parameter
- getTagName() -
Method in class com.devsphere.xml.taglib.output.tag.Start
- Returns the name of the handled tag
- getTagName() -
Method in class com.devsphere.xml.taglib.output.tag.PI
- Returns the name of the handled tag
- getTagName() -
Method in class com.devsphere.xml.taglib.output.tag.Fragment
- Returns the name of the handled tag
- getTagName() -
Method in class com.devsphere.xml.taglib.output.tag.End
- Returns the name of the handled tag
- getTagName() -
Method in class com.devsphere.xml.taglib.output.tag.Element
- Returns the name of the handled tag
- getTagName() -
Method in class com.devsphere.xml.taglib.output.tag.Document
- Returns the name of the handled tag
- getTagName() -
Method in class com.devsphere.xml.taglib.output.tag.Data
- Returns the name of the handled tag
- getTagName() -
Method in class com.devsphere.xml.taglib.output.tag.Comment
- Returns the name of the handled tag
- getTagName() -
Method in class com.devsphere.xml.taglib.output.tag.Attributes
- Returns the name of the handled tag
- getTagName() -
Method in class com.devsphere.xml.taglib.output.tag.Attribute
- Returns the name of the handled tag
- getTagName() -
Method in class com.devsphere.xml.taglib.process.tag.Start
- Returns the name of the handled tag
- getTagName() -
Method in class com.devsphere.xml.taglib.process.tag.PI
- Returns the name of the handled tag
- getTagName() -
Method in class com.devsphere.xml.taglib.process.tag.Parse
- Returns the name of the handled tag
- getTagName() -
Method in class com.devsphere.xml.taglib.process.tag.End
- Returns the name of the handled tag
- getTagName() -
Method in class com.devsphere.xml.taglib.process.tag.Element
- Returns the name of the handled tag
- getTagName() -
Method in class com.devsphere.xml.taglib.process.tag.Data
- Returns the name of the handled tag
- getTagName() -
Method in class com.devsphere.xml.taglib.support.tag.CommonSupport
- Subclasses must implement this method to return the tag name.
- getTarget() -
Method in class com.devsphere.xml.taglib.process.event.Processing
- Returns the target of the processing instruction
- getTransformerFactory() -
Static method in class com.devsphere.xml.taglib.output.write.Serializer
- Returns a JAXP transformer factory.
- getUri() -
Method in class com.devsphere.xml.taglib.process.event.StartElement
- Returns the element's namespace URI
- getUri() -
Method in class com.devsphere.xml.taglib.process.event.EndElement
- Returns the element's namespace URI
- getURIResolver() -
Method in class com.devsphere.xml.saxdomix.SDXTransformer
- Calls the method with the same name of the
fragmentTransformer
object
for getting the URI resolver.
- getValidate() -
Method in class com.devsphere.xml.taglib.process.builder.Parameters
- Gets the value of the
validate
flag
- getVarXml() -
Method in class com.devsphere.xml.taglib.process.builder.Parameters
- Gets the value of the
varXml
parameter
- getWantDOM() -
Method in class com.devsphere.xml.taglib.process.event.StartElement
- Returns the
wantDOM
flag used by the SAXDOMIX controller.
- getWantDOM() -
Method in class com.devsphere.xml.taglib.process.tag.Element
- Returns true if the body of this tag will process a DOM tree.
handleDOM()
SAXDOMIX
event.wantDOM()
always returns false
.
SAXOutputter
used as handler
org.xml.sax.helpers.DefaultHandler
to generate JSP code that outputs XML.org.xml.sax.helpers.DefaultHandler
to generate JSP code for handling the SAX events.true
if the event was consumed
Document
objects
DocumentBuilder
objects
LexicalHandler
LexicalHandler
true
.
true
.
TransformerRunner
in order to create an instance of
this class, configure it and call its transform()
method.
TransformerRunner
in order to create an instance of
this class, configure it and call its transform()
method.
TransformerRunner
in order to create an instance of
this class, configure it and call its transform()
method.
Main1
and Main2
and provides most of the functionality of the XML parsing benchmark.SDXBuilder
and SDXController
to do mixed SAX-DOM parsing.SDXTransformer
to apply an XSLT transformation
to each DOM sub-tree created during the mixed SAX-DOM parsing of an XML
document.0
.
SAXOutputter
and DOMOutputter
.maxDataLength
property.
args
field.
processingInstruction()
SAX event.processingInstruction()
SAX event.ProcessingInstruction
node depending on
the value of the wantDOM
flag.
wantDOM
flag.
ProcessingInstruction
node depending on
the value of the wantDOM
flag.
processingInstruction()
event.
Processing
event.
processingInstruction()
event.
elements
vector.
match
attribute of
a template
or key
tag.
restoreValue == true
and had a previous value.
SDXTransformer
.parse()
method.
Transformer
subclass,
configures it and calls its transform()
method.
Transformer
subclass,
configures it and calls its transform()
method.
java.lang.Runtime
instance
wantDOM()
method of the given
controller returns true and also passes the DOM sub-trees to the
controller's handleDOM()
method.
wantDOM()
method of the given
controller returns true and also passes the DOM sub-trees to the
controller's handleDOM()
method.
SDXBuilder
implemented differently.wantDOM()
method of the given
controller returns true and also passes the DOM sub-trees to the
controller's handleDOM()
method.
wantDOM()
method of the given
controller returns true and also passes the DOM sub-trees to the
controller's handleDOM()
method.
SDXBuilder
needs a factory for DOM nodes that implements
this interface.SDXBuilderT
needs a factory for DOM sub-trees that implements
this interface.wantDOM()
method of the given
controller returns true and also passes the DOM sub-trees to the
controller's handleDOM()
method.
wantDOM()
method of the given
controller returns true and also passes the DOM sub-trees to the
controller's handleDOM()
method.
SDXOldBuilder
needs a factory for DOM nodes that implements
this interface.xslSource
to construct the fragmentTransformer
.
fragmentTransformer
for processing the DOM sub-trees.
consumed
flag of this event.
setDocumentLocator()
event.
fragmentTransformer
object
for setting the error listener.
maxDataLength
property.
fragmentTransformer
object
for setting the output properties.
fragmentTransformer
object
for setting an output property.
fragmentTransformer
object
for setting the value of a parameter.
CDATA
section.
XMLNS
attribute.
fragmentTransformer
object
for setting the URI resolver.
wantDOM
flag used by the SAXDOMIX controller.
false
if the data
attribute is present.
false
.
false
if the value
attribute is
present.
false
if the text
attribute is present.
false
if the value
attribute is
present.
true
if the data
attribute is present.
false
.
true
if the dom
attribute is present.
empty
flag.
true
if the value
attribute is present.
true
if the text
attribute is present.
true
if the value
attribute is present.
MixedTransformer
, but it "knows"
when to request the DOM sub-trees for transformation.Element
nodes
Element
nodes
startElement()
or startDocument()
SAX event.wantDOM
flag.
wantDOM
flag if false
.
startDocument()
SAX eventstartDocument()
event.
StartDocument
event.
startDocument()
event.
startElement()
SAX event.Element
node depending on the value
of the wantDOM
flag.
wantDOM
flag.
Element
node depending on the value
of the wantDOM
flag.
startElement()
event.
StartElement
event was
created and added by wantDOM()
startElement()
event.
true
if the current event is a
StartElement
or StartDocument
instance.
true
if the event loop should be started.
true
if the current event is a
Processing
instance and all tests are passed.
true
if the current event is a
StartDocument
instance.
true
if the current event is a
EndElement
or EndDocument
instance.
true
if the current event is a
StartElement
instance and all tests are passed.
true
if the current event is a
Characters
instance.
dom
attribute is present.
Transformer
s.Transformer
and
TransformerHandler
objects
TransformerHandler
objects
SAX
; true
means DOM)
SAX
; true
means DOM)
SAX
; true
means DOM)
true
when the application wants to receive
a DOM sub-tree for handling.
true
when a DOM sub-tree should be transformed
by fragmentTransformer
.
true
when the application wants to receive
a DOM sub-tree for handling.
false
.
true
when the application wants to receive
a DOM sub-tree for handling.
true
when the application wants to receive
a DOM sub-tree for handling, that is the elements
vector
contains the qualified name of the current element
true
when the application wants to receive
a DOM sub-tree for transforming, that is the current element
has a wantDOM="true"
attribute.
true
when the application wants to receive
a DOM sub-tree for handling, that is the elements
vector
contains the qualified name of the current element
SmartTransformer
, but it creates
an HTML file as output.
|
Devsphere.com |
|||||||||
PREV NEXT | FRAMES NO FRAMES |