edu.sc.seis.fissuresUtil.xml
Class XMLUnitBase

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

public class XMLUnitBase
extends Object

XMLUnitBase.java Created: Mon Jul 1 15:48:00 2002

Version:
Author:
Srinivasa Telukutla

Constructor Summary
XMLUnitBase()
           
 
Method Summary
static UnitBase getUnitBase(Element base)
           
static UnitBase getUnitBase(javax.xml.stream.XMLStreamReader parser)
           
static int getUnitBaseType(Element base)
           
static int getUnitBaseType(javax.xml.stream.XMLStreamReader parser)
           
static void insert(Element element, UnitBase unitBase)
          DOM insert
static void insert(javax.xml.stream.XMLStreamWriter writer, UnitBase unitBase)
          StAX insert
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLUnitBase

public XMLUnitBase()
Method Detail

insert

public static void insert(javax.xml.stream.XMLStreamWriter writer,
                          UnitBase unitBase)
                   throws javax.xml.stream.XMLStreamException
StAX insert

Throws:
javax.xml.stream.XMLStreamException

insert

public static void insert(Element element,
                          UnitBase unitBase)
DOM insert


getUnitBaseType

public static int getUnitBaseType(Element base)

getUnitBase

public static UnitBase getUnitBase(Element base)

getUnitBaseType

public static int getUnitBaseType(javax.xml.stream.XMLStreamReader parser)
                           throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

getUnitBase

public static UnitBase getUnitBase(javax.xml.stream.XMLStreamReader parser)
                            throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException


Copyright © 2002-2007 Seismology at the University of South Carolina. All Rights Reserved.