FreeHEP API
Version current

hep.graphics.heprep.xml
Class XMLHepRepDefaultsHandler

java.lang.Object
  extended byorg.xml.sax.helpers.DefaultHandler
      extended byhep.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. Names, Values and Types NEED to be specified.

Version:
$Id: XMLHepRepDefaultsHandler.java,v 1.15 2005/02/27 22:58:50 duns Exp $
Author:
M.Donszelmann
Source Code:
XMLHepRepDefaultsHandler.java

Field Summary
static String cvsId
           
 
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
Method Detail

startDocument

public void startDocument()
                   throws SAXException
Throws:
SAXException

startElement

public void startElement(String namespace,
                         String tag,
                         String qName,
                         Attributes atts)
                  throws SAXException
Throws:
SAXException

endElement

public void endElement(String namespace,
                       String tag,
                       String qName)
                throws SAXException
Throws:
SAXException

resolveEntity

public InputSource resolveEntity(String publicId,
                                 String systemId)

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.