org.apache.geronimo.system.configuration
Class AttributesXmlUtil
java.lang.Object
org.apache.geronimo.system.configuration.AttributesXmlUtil
public class AttributesXmlUtil
- extends java.lang.Object
- Version:
- $Rev: 724553 $ $Date: 2008-12-09 07:42:25 +0800 (Tue, 09 Dec 2008) $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLINPUT_FACTORY
public static final javax.xml.stream.XMLInputFactory XMLINPUT_FACTORY
ATTRIBUTES_CONTEXT
public static final javax.xml.bind.JAXBContext ATTRIBUTES_CONTEXT
ATTRIBUTE_CONTEXT
public static final javax.xml.bind.JAXBContext ATTRIBUTE_CONTEXT
MODULE_CONTEXT
public static final javax.xml.bind.JAXBContext MODULE_CONTEXT
GBEAN_CONTEXT
public static final javax.xml.bind.JAXBContext GBEAN_CONTEXT
AttributesXmlUtil
public AttributesXmlUtil()
writeAttribute
public static void writeAttribute(AttributeType metadata,
java.io.Writer out)
throws javax.xml.stream.XMLStreamException,
javax.xml.bind.JAXBException
- Throws:
javax.xml.stream.XMLStreamException
javax.xml.bind.JAXBException
extractAttributeValue
public static java.lang.String extractAttributeValue(AttributeType attr)
throws javax.xml.bind.JAXBException,
javax.xml.stream.XMLStreamException
- Throws:
javax.xml.bind.JAXBException
javax.xml.stream.XMLStreamException
writeAttributes
public static void writeAttributes(AttributesType metadata,
java.io.Writer out)
throws javax.xml.stream.XMLStreamException,
javax.xml.bind.JAXBException
- Throws:
javax.xml.stream.XMLStreamException
javax.xml.bind.JAXBException
loadAttributes
public static AttributesType loadAttributes(java.io.Reader in)
throws javax.xml.parsers.ParserConfigurationException,
java.io.IOException,
org.xml.sax.SAXException,
javax.xml.bind.JAXBException,
javax.xml.stream.XMLStreamException
- Throws:
javax.xml.parsers.ParserConfigurationException
java.io.IOException
org.xml.sax.SAXException
javax.xml.bind.JAXBException
javax.xml.stream.XMLStreamException
loadModule
public static ModuleType loadModule(java.io.Reader in)
throws javax.xml.parsers.ParserConfigurationException,
java.io.IOException,
org.xml.sax.SAXException,
javax.xml.bind.JAXBException,
javax.xml.stream.XMLStreamException
- Throws:
javax.xml.parsers.ParserConfigurationException
java.io.IOException
org.xml.sax.SAXException
javax.xml.bind.JAXBException
javax.xml.stream.XMLStreamException
loadGbean
public static GbeanType loadGbean(java.io.Reader in)
throws javax.xml.parsers.ParserConfigurationException,
java.io.IOException,
org.xml.sax.SAXException,
javax.xml.bind.JAXBException,
javax.xml.stream.XMLStreamException
- Throws:
javax.xml.parsers.ParserConfigurationException
java.io.IOException
org.xml.sax.SAXException
javax.xml.bind.JAXBException
javax.xml.stream.XMLStreamException
loadAttribute
public static AttributeType loadAttribute(java.io.Reader in)
throws javax.xml.parsers.ParserConfigurationException,
java.io.IOException,
org.xml.sax.SAXException,
javax.xml.bind.JAXBException,
javax.xml.stream.XMLStreamException
- Throws:
javax.xml.parsers.ParserConfigurationException
java.io.IOException
org.xml.sax.SAXException
javax.xml.bind.JAXBException
javax.xml.stream.XMLStreamException
Copyright © 2003-2012 The Apache Geronimo development community. All Rights Reserved.