org.apache.geronimo.system.configuration
Class AttributesXmlUtil
java.lang.Object
org.apache.geronimo.system.configuration.AttributesXmlUtil
public class AttributesXmlUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
AttributesXmlUtil
public AttributesXmlUtil()
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.