org.apache.felix.scrplugin.xml
Class MetaTypeIO
java.lang.Object
org.apache.felix.scrplugin.xml.MetaTypeIO
public class MetaTypeIO
- extends Object
MetaType
is a helper class to read and write meta type service files.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAMESPACE_URI
public static final String NAMESPACE_URI
- See Also:
- Constant Field Values
INNER_NAMESPACE_URI
public static final String INNER_NAMESPACE_URI
- See Also:
- Constant Field Values
PREFIX
public static final String PREFIX
- See Also:
- Constant Field Values
METADATA_ELEMENT
protected static final String METADATA_ELEMENT
- See Also:
- Constant Field Values
METADATA_ELEMENT_QNAME
protected static final String METADATA_ELEMENT_QNAME
- See Also:
- Constant Field Values
OCD_ELEMENT
protected static final String OCD_ELEMENT
- See Also:
- Constant Field Values
OCD_ELEMENT_QNAME
protected static final String OCD_ELEMENT_QNAME
- See Also:
- Constant Field Values
DESIGNATE_ELEMENT
protected static final String DESIGNATE_ELEMENT
- See Also:
- Constant Field Values
DESIGNATE_ELEMENT_QNAME
protected static final String DESIGNATE_ELEMENT_QNAME
- See Also:
- Constant Field Values
OBJECT_ELEMENT
protected static final String OBJECT_ELEMENT
- See Also:
- Constant Field Values
OBJECT_ELEMENT_QNAME
protected static final String OBJECT_ELEMENT_QNAME
- See Also:
- Constant Field Values
AD_ELEMENT
protected static final String AD_ELEMENT
- See Also:
- Constant Field Values
AD_ELEMENT_QNAME
protected static final String AD_ELEMENT_QNAME
- See Also:
- Constant Field Values
OPTION_ELEMENT
protected static final String OPTION_ELEMENT
- See Also:
- Constant Field Values
OPTION_ELEMENT_QNAME
protected static final String OPTION_ELEMENT_QNAME
- See Also:
- Constant Field Values
MetaTypeIO
public MetaTypeIO()
write
public static void write(MetaData metaData,
File file)
throws SCRDescriptorException
- Throws:
SCRDescriptorException
generateXML
protected static void generateXML(MetaData metaData,
ContentHandler contentHandler)
throws SAXException
- Generate the xml top level element and start streaming
the meta data.
- Parameters:
metaData
- contentHandler
-
- Throws:
SAXException
generateXML
protected static void generateXML(OCD ocd,
ContentHandler contentHandler)
throws SAXException
- Throws:
SAXException
generateXML
protected static void generateXML(AttributeDefinition ad,
ContentHandler contentHandler)
throws SAXException
- Throws:
SAXException
generateXML
protected static void generateXML(Designate designate,
ContentHandler contentHandler)
throws SAXException
- Throws:
SAXException
generateXML
protected static void generateXML(MTObject obj,
ContentHandler contentHandler)
throws SAXException
- Throws:
SAXException
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.