org.apache.geronimo.deployment.xmlbeans
Class XmlBeansUtil

java.lang.Object
  extended by org.apache.geronimo.deployment.xmlbeans.XmlBeansUtil

public class XmlBeansUtil
extends Object


Method Summary
static org.apache.xmlbeans.XmlOptions createXmlOptions(Collection errors)
           
static org.apache.xmlbeans.QNameSet getQNameSetForSubstitutionGroup(QName substitutionGroup)
           
static org.apache.xmlbeans.XmlObject parse(Element element)
           
static org.apache.xmlbeans.XmlObject parse(File file)
           
static org.apache.xmlbeans.XmlObject parse(InputStream is)
           
static org.apache.xmlbeans.XmlObject parse(String xml)
           
static org.apache.xmlbeans.XmlObject parse(URL url, ClassLoader cl)
           
static void registerSubstitutionGroupElements(QName substitutionGroup, org.apache.xmlbeans.QNameSet substitutions)
           
static org.apache.xmlbeans.XmlObject[] selectSubstitutionGroupElements(QName substitutionGroup, org.apache.xmlbeans.XmlObject container)
           
static void unregisterSubstitutionGroupElements(QName substitutionGroup, org.apache.xmlbeans.QNameSet substitutions)
           
static void validateDD(org.apache.xmlbeans.XmlObject dd)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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)

validateDD

public static void validateDD(org.apache.xmlbeans.XmlObject dd)
                       throws org.apache.xmlbeans.XmlException
Throws:
org.apache.xmlbeans.XmlException


Copyright © 2006 Apache Software Foundation. All Rights Reserved.