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

Quick Search    Search Deep

org.jdom.transform
Class JDOMResult.FragmentHandler  view JDOMResult.FragmentHandler download JDOMResult.FragmentHandler.java

java.lang.Object
  extended byorg.xml.sax.helpers.DefaultHandler
      extended byorg.jdom.input.SAXHandler
          extended byorg.jdom.transform.JDOMResult.FragmentHandler
All Implemented Interfaces:
org.xml.sax.ContentHandler, org.xml.sax.ext.DeclHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler, org.xml.sax.ext.LexicalHandler
Enclosing class:
JDOMResult

private static class JDOMResult.FragmentHandler
extends org.jdom.input.SAXHandler


Field Summary
private  org.jdom.Element dummyRoot
          A dummy root element required by SAXHandler that can only cope with well-formed documents.
 
Fields inherited from class org.jdom.input.SAXHandler
 
Constructor Summary
JDOMResult.FragmentHandler(org.jdom.input.JDOMFactory factory)
          Public constructor.
 
Method Summary
private  java.util.List getDetachedContent(org.jdom.Element elt)
          Returns the content of a JDOM Element detached from it.
 java.util.List getResult()
          Returns the result of an XSL Transformation.
 
Methods inherited from class org.jdom.input.SAXHandler
attributeDecl, characters, comment, elementDecl, endCDATA, endDTD, endElement, endEntity, externalEntityDecl, flushCharacters, flushCharacters, getCurrentElement, getDocument, getDocumentLocator, getExpandEntities, getFactory, getIgnoringElementContentWhitespace, ignorableWhitespace, internalEntityDecl, notationDecl, processingInstruction, pushElement, setDocumentLocator, setExpandEntities, setIgnoringElementContentWhitespace, skippedEntity, startCDATA, startDocument, startDTD, startElement, startEntity, startPrefixMapping, unparsedEntityDecl
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, resolveEntity, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dummyRoot

private org.jdom.Element dummyRoot
A dummy root element required by SAXHandler that can only cope with well-formed documents.

Constructor Detail

JDOMResult.FragmentHandler

public JDOMResult.FragmentHandler(org.jdom.input.JDOMFactory factory)
Public constructor.

Method Detail

getResult

public java.util.List getResult()
Returns the result of an XSL Transformation.


getDetachedContent

private java.util.List getDetachedContent(org.jdom.Element elt)
Returns the content of a JDOM Element detached from it.