edu.sc.seis.fissuresUtil.xml
Class XMLMagnitude

java.lang.Object
  extended by edu.sc.seis.fissuresUtil.xml.XMLMagnitude

public class XMLMagnitude
extends java.lang.Object

XMLMagnitude.java Created: Wed Jun 12 16:39:51 2002


Constructor Summary
XMLMagnitude()
           
 
Method Summary
static edu.iris.Fissures.IfEvent.Magnitude getMagnitude(org.w3c.dom.Element base)
           
static edu.iris.Fissures.IfEvent.Magnitude getMagnitude(javax.xml.stream.XMLStreamReader parser)
           
static void insert(org.w3c.dom.Element element, edu.iris.Fissures.IfEvent.Magnitude mag)
          DOM insert
static void insert(javax.xml.stream.XMLStreamWriter writer, edu.iris.Fissures.IfEvent.Magnitude mag)
          StAX insert
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLMagnitude

public XMLMagnitude()
Method Detail

insert

public static void insert(javax.xml.stream.XMLStreamWriter writer,
                          edu.iris.Fissures.IfEvent.Magnitude mag)
                   throws javax.xml.stream.XMLStreamException
StAX insert

Throws:
javax.xml.stream.XMLStreamException

insert

public static void insert(org.w3c.dom.Element element,
                          edu.iris.Fissures.IfEvent.Magnitude mag)
DOM insert


getMagnitude

public static edu.iris.Fissures.IfEvent.Magnitude getMagnitude(org.w3c.dom.Element base)

getMagnitude

public static edu.iris.Fissures.IfEvent.Magnitude getMagnitude(javax.xml.stream.XMLStreamReader parser)
                                                        throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException