org.apache.geronimo.deployment.xmlbeans
Class XmlBeansUtil
java.lang.Object
org.apache.geronimo.deployment.xmlbeans.XmlBeansUtil
public class XmlBeansUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parse
public static org.apache.xmlbeans.XmlObject parse(File file)
throws IOException,
org.apache.xmlbeans.XmlException
- Throws:
IOException
org.apache.xmlbeans.XmlException
parse
public static org.apache.xmlbeans.XmlObject parse(URL url,
ClassLoader cl)
throws IOException,
org.apache.xmlbeans.XmlException
- Throws:
IOException
org.apache.xmlbeans.XmlException
parse
public static org.apache.xmlbeans.XmlObject parse(InputStream is)
throws IOException,
org.apache.xmlbeans.XmlException
- Throws:
IOException
org.apache.xmlbeans.XmlException
parse
public static org.apache.xmlbeans.XmlObject parse(String xml)
throws org.apache.xmlbeans.XmlException
- Throws:
org.apache.xmlbeans.XmlException
parse
public static org.apache.xmlbeans.XmlObject parse(Element element)
throws org.apache.xmlbeans.XmlException
- Throws:
org.apache.xmlbeans.XmlException
createXmlOptions
public static org.apache.xmlbeans.XmlOptions createXmlOptions(Collection errors)
registerSubstitutionGroupElements
public static void registerSubstitutionGroupElements(QName substitutionGroup,
org.apache.xmlbeans.QNameSet substitutions)
unregisterSubstitutionGroupElements
public static void unregisterSubstitutionGroupElements(QName substitutionGroup,
org.apache.xmlbeans.QNameSet substitutions)
getQNameSetForSubstitutionGroup
public static org.apache.xmlbeans.QNameSet getQNameSetForSubstitutionGroup(QName substitutionGroup)
selectSubstitutionGroupElements
public static org.apache.xmlbeans.XmlObject[] selectSubstitutionGroupElements(QName substitutionGroup,
org.apache.xmlbeans.XmlObject container)
typedCopy
public static org.apache.xmlbeans.XmlObject typedCopy(org.apache.xmlbeans.XmlObject in,
org.apache.xmlbeans.SchemaType type)
throws org.apache.xmlbeans.XmlException
- Throws:
org.apache.xmlbeans.XmlException
validateDD
public static void validateDD(org.apache.xmlbeans.XmlObject dd)
throws org.apache.xmlbeans.XmlException
- Throws:
org.apache.xmlbeans.XmlException
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.