edu.sc.seis.fissuresUtil.xml
Class XMLProperty

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

public class XMLProperty
extends java.lang.Object

Describe class XMLProperty here.


Constructor Summary
XMLProperty()
           
 
Method Summary
static edu.iris.Fissures.IfSeismogramDC.Property getProperty(org.w3c.dom.Element base)
          Describe getProperty method here.
static edu.iris.Fissures.IfSeismogramDC.Property getProperty(javax.xml.stream.XMLStreamReader parser)
           
static void insert(org.w3c.dom.Element element, edu.iris.Fissures.IfSeismogramDC.Property prop)
          DOM insert
static void insert(org.w3c.dom.Element element, java.lang.String name, java.lang.String value)
          DOM insert
static void insert(javax.xml.stream.XMLStreamWriter writer, edu.iris.Fissures.IfSeismogramDC.Property prop)
          StAX insert
static void insert(javax.xml.stream.XMLStreamWriter writer, java.lang.String name, java.lang.String value)
          StAX insert
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLProperty

public XMLProperty()
Method Detail

insert

public static void insert(javax.xml.stream.XMLStreamWriter writer,
                          edu.iris.Fissures.IfSeismogramDC.Property prop)
                   throws javax.xml.stream.XMLStreamException
StAX insert

Throws:
javax.xml.stream.XMLStreamException

insert

public static void insert(javax.xml.stream.XMLStreamWriter writer,
                          java.lang.String name,
                          java.lang.String value)
                   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.IfSeismogramDC.Property prop)
DOM insert


insert

public static void insert(org.w3c.dom.Element element,
                          java.lang.String name,
                          java.lang.String value)
DOM insert


getProperty

public static edu.iris.Fissures.IfSeismogramDC.Property getProperty(org.w3c.dom.Element base)
Describe getProperty method here.

Parameters:
base - an Element value
Returns:
a Property value

getProperty

public static edu.iris.Fissures.IfSeismogramDC.Property getProperty(javax.xml.stream.XMLStreamReader parser)
                                                             throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException