001/*
002 * An XML document type.
003 * Localname: property
004 * Namespace: http://www.springframework.org/schema/beans
005 * Java type: org.springframework.schema.beans.PropertyDocument
006 *
007 * Automatically generated - do not modify.
008 */
009package org.springframework.schema.beans;
010
011
012/**
013 * A document containing one property(@http://www.springframework.org/schema/beans) element.
014 *
015 * This is a complex type.
016 */
017public interface PropertyDocument extends org.apache.xmlbeans.XmlObject
018{
019    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
020        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(PropertyDocument.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s64573255CCD5DEC1A1EC4BE6858B9539").resolveHandle("propertyca74doctype");
021    
022    /**
023     * Gets the "property" element
024     */
025    org.springframework.schema.beans.PropertyType getProperty();
026    
027    /**
028     * Sets the "property" element
029     */
030    void setProperty(org.springframework.schema.beans.PropertyType property);
031    
032    /**
033     * Appends and returns a new empty "property" element
034     */
035    org.springframework.schema.beans.PropertyType addNewProperty();
036    
037    /**
038     * A factory class with static methods for creating instances
039     * of this type.
040     */
041    
042    public static final class Factory
043    {
044        public static org.springframework.schema.beans.PropertyDocument newInstance() {
045          return (org.springframework.schema.beans.PropertyDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
046        
047        public static org.springframework.schema.beans.PropertyDocument newInstance(org.apache.xmlbeans.XmlOptions options) {
048          return (org.springframework.schema.beans.PropertyDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
049        
050        /** @param xmlAsString the string value to parse */
051        public static org.springframework.schema.beans.PropertyDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
052          return (org.springframework.schema.beans.PropertyDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
053        
054        public static org.springframework.schema.beans.PropertyDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
055          return (org.springframework.schema.beans.PropertyDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
056        
057        /** @param file the file from which to load an xml document */
058        public static org.springframework.schema.beans.PropertyDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
059          return (org.springframework.schema.beans.PropertyDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
060        
061        public static org.springframework.schema.beans.PropertyDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
062          return (org.springframework.schema.beans.PropertyDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
063        
064        public static org.springframework.schema.beans.PropertyDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
065          return (org.springframework.schema.beans.PropertyDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
066        
067        public static org.springframework.schema.beans.PropertyDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
068          return (org.springframework.schema.beans.PropertyDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
069        
070        public static org.springframework.schema.beans.PropertyDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
071          return (org.springframework.schema.beans.PropertyDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
072        
073        public static org.springframework.schema.beans.PropertyDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
074          return (org.springframework.schema.beans.PropertyDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
075        
076        public static org.springframework.schema.beans.PropertyDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
077          return (org.springframework.schema.beans.PropertyDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
078        
079        public static org.springframework.schema.beans.PropertyDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
080          return (org.springframework.schema.beans.PropertyDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
081        
082        public static org.springframework.schema.beans.PropertyDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
083          return (org.springframework.schema.beans.PropertyDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
084        
085        public static org.springframework.schema.beans.PropertyDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
086          return (org.springframework.schema.beans.PropertyDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
087        
088        public static org.springframework.schema.beans.PropertyDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
089          return (org.springframework.schema.beans.PropertyDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
090        
091        public static org.springframework.schema.beans.PropertyDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
092          return (org.springframework.schema.beans.PropertyDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
093        
094        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
095        public static org.springframework.schema.beans.PropertyDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
096          return (org.springframework.schema.beans.PropertyDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
097        
098        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
099        public static org.springframework.schema.beans.PropertyDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
100          return (org.springframework.schema.beans.PropertyDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
101        
102        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
103        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
104          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
105        
106        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
107        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
108          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
109        
110        private Factory() { } // No instance of this class allowed
111    }
112}