edu.sc.seis.fissuresUtil.xml
Class XMLLocation

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

public class XMLLocation
extends java.lang.Object

XMLLocation.java Created: Wed Jun 12 15:22:08 2002


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

Constructor Detail

XMLLocation

public XMLLocation()
Method Detail

insert

public static void insert(javax.xml.stream.XMLStreamWriter writer,
                          edu.iris.Fissures.Location loc)
                   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.Location loc)
DOM insert


getLocation

public static edu.iris.Fissures.Location getLocation(org.w3c.dom.Element base)

getLocation

public static edu.iris.Fissures.Location getLocation(javax.xml.stream.XMLStreamReader parser)
                                              throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException