FreeHEP API
Version v1.2.2

hep.graphics.heprep.xml
Class XMLHepRepDefaultsHandler

java.lang.Object
  |
  +--org.xml.sax.helpers.DefaultHandler
        |
        +--hep.graphics.heprep.xml.XMLHepRepDefaultsHandler
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler

public class XMLHepRepDefaultsHandler
extends DefaultHandler

Handles the reading of the XML HepRep defaults file. This file is only allowed to have a HepRepType at the top-level and HepRepAttDefs as well as HepRepAttValues as children. No Sub-types are allowed

Version:
$Id: XMLHepRepDefaultsHandler.java,v 1.11 2003/12/02 23:46:48 duns Exp $
Author:
M.Donszelmann

Field Summary
static String cvsId
           
 
Constructor Summary
XMLHepRepDefaultsHandler()
           
 
Method Summary
 void endElement(String namespace, String tag, String qName)
           
 InputSource resolveEntity(String publicId, String systemId)
           
 void startDocument()
           
 void startElement(String namespace, String tag, String qName, Attributes atts)
           
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cvsId

public static final String cvsId
See Also:
Constant Field Values
Constructor Detail

XMLHepRepDefaultsHandler

public XMLHepRepDefaultsHandler()
Method Detail

startDocument

public void startDocument()
                   throws SAXException
Specified by:
startDocument in interface ContentHandler
Overrides:
startDocument in class DefaultHandler
SAXException

startElement

public void startElement(String namespace,
                         String tag,
                         String qName,
                         Attributes atts)
                  throws SAXException
Specified by:
startElement in interface ContentHandler
Overrides:
startElement in class DefaultHandler
SAXException

endElement

public void endElement(String namespace,
                       String tag,
                       String qName)
                throws SAXException
Specified by:
endElement in interface ContentHandler
Overrides:
endElement in class DefaultHandler
SAXException

resolveEntity

public InputSource resolveEntity(String publicId,
                                 String systemId)
Specified by:
resolveEntity in interface EntityResolver
Overrides:
resolveEntity in class DefaultHandler

FreeHEP API
Version v1.2.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.