org.apache.geronimo.system.configuration
Class AttributesXmlUtil

java.lang.Object
  extended by org.apache.geronimo.system.configuration.AttributesXmlUtil

public class AttributesXmlUtil
extends Object


Field Summary
static JAXBContext ATTRIBUTE_CONTEXT
           
static JAXBContext ATTRIBUTES_CONTEXT
           
static JAXBContext GBEAN_CONTEXT
           
static JAXBContext MODULE_CONTEXT
           
static XMLInputFactory XMLINPUT_FACTORY
           
 
Constructor Summary
AttributesXmlUtil()
           
 
Method Summary
static String extractAttributeValue(AttributeType attr)
           
static AttributeType loadAttribute(Reader in)
           
static AttributesType loadAttributes(Reader in)
           
static GbeanType loadGbean(Reader in)
           
static ModuleType loadModule(Reader in)
           
static void writeAttribute(AttributeType metadata, Writer out)
           
static void writeAttributes(AttributesType metadata, Writer out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

XMLINPUT_FACTORY

public static final XMLInputFactory XMLINPUT_FACTORY

ATTRIBUTES_CONTEXT

public static final JAXBContext ATTRIBUTES_CONTEXT

ATTRIBUTE_CONTEXT

public static final JAXBContext ATTRIBUTE_CONTEXT

MODULE_CONTEXT

public static final JAXBContext MODULE_CONTEXT

GBEAN_CONTEXT

public static final JAXBContext GBEAN_CONTEXT
Constructor Detail

AttributesXmlUtil

public AttributesXmlUtil()
Method Detail

writeAttribute

public static void writeAttribute(AttributeType metadata,
                                  Writer out)
                           throws XMLStreamException,
                                  JAXBException
Throws:
XMLStreamException
JAXBException

extractAttributeValue

public static String extractAttributeValue(AttributeType attr)
                                    throws JAXBException,
                                           XMLStreamException
Throws:
JAXBException
XMLStreamException

writeAttributes

public static void writeAttributes(AttributesType metadata,
                                   Writer out)
                            throws XMLStreamException,
                                   JAXBException
Throws:
XMLStreamException
JAXBException

loadAttributes

public static AttributesType loadAttributes(Reader in)
                                     throws ParserConfigurationException,
                                            IOException,
                                            SAXException,
                                            JAXBException,
                                            XMLStreamException
Throws:
ParserConfigurationException
IOException
SAXException
JAXBException
XMLStreamException

loadModule

public static ModuleType loadModule(Reader in)
                             throws ParserConfigurationException,
                                    IOException,
                                    SAXException,
                                    JAXBException,
                                    XMLStreamException
Throws:
ParserConfigurationException
IOException
SAXException
JAXBException
XMLStreamException

loadGbean

public static GbeanType loadGbean(Reader in)
                           throws ParserConfigurationException,
                                  IOException,
                                  SAXException,
                                  JAXBException,
                                  XMLStreamException
Throws:
ParserConfigurationException
IOException
SAXException
JAXBException
XMLStreamException

loadAttribute

public static AttributeType loadAttribute(Reader in)
                                   throws ParserConfigurationException,
                                          IOException,
                                          SAXException,
                                          JAXBException,
                                          XMLStreamException
Throws:
ParserConfigurationException
IOException
SAXException
JAXBException
XMLStreamException


Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.