001 /*
002 * XML Type: distinguishedNameType
003 * Namespace: http://geronimo.apache.org/xml/ns/security-1.2
004 * Java type: org.apache.geronimo.xbeans.geronimo.security.GerDistinguishedNameType
005 *
006 * Automatically generated - do not modify.
007 */
008 package org.apache.geronimo.xbeans.geronimo.security;
009
010
011 /**
012 * An XML distinguishedNameType(@http://geronimo.apache.org/xml/ns/security-1.2).
013 *
014 * This is a complex type.
015 */
016 public interface GerDistinguishedNameType extends org.apache.xmlbeans.XmlObject
017 {
018 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schemaorg_apache_xmlbeans.system.sAC7A4D68E92F83330EB8FF8C7ED832FA.TypeSystemHolder.typeSystem.resolveHandle("distinguishednametypee3d3type");
019
020 /**
021 * Gets array of all "description" elements
022 */
023 org.apache.geronimo.xbeans.geronimo.security.GerDescriptionType[] getDescriptionArray();
024
025 /**
026 * Gets ith "description" element
027 */
028 org.apache.geronimo.xbeans.geronimo.security.GerDescriptionType getDescriptionArray(int i);
029
030 /**
031 * Returns number of "description" element
032 */
033 int sizeOfDescriptionArray();
034
035 /**
036 * Sets array of all "description" element
037 */
038 void setDescriptionArray(org.apache.geronimo.xbeans.geronimo.security.GerDescriptionType[] descriptionArray);
039
040 /**
041 * Sets ith "description" element
042 */
043 void setDescriptionArray(int i, org.apache.geronimo.xbeans.geronimo.security.GerDescriptionType description);
044
045 /**
046 * Inserts and returns a new empty value (as xml) as the ith "description" element
047 */
048 org.apache.geronimo.xbeans.geronimo.security.GerDescriptionType insertNewDescription(int i);
049
050 /**
051 * Appends and returns a new empty value (as xml) as the last "description" element
052 */
053 org.apache.geronimo.xbeans.geronimo.security.GerDescriptionType addNewDescription();
054
055 /**
056 * Removes the ith "description" element
057 */
058 void removeDescription(int i);
059
060 /**
061 * Gets the "name" attribute
062 */
063 java.lang.String getName();
064
065 /**
066 * Gets (as xml) the "name" attribute
067 */
068 org.apache.xmlbeans.XmlString xgetName();
069
070 /**
071 * Sets the "name" attribute
072 */
073 void setName(java.lang.String name);
074
075 /**
076 * Sets (as xml) the "name" attribute
077 */
078 void xsetName(org.apache.xmlbeans.XmlString name);
079
080 /**
081 * Gets the "designated-run-as" attribute
082 */
083 boolean getDesignatedRunAs();
084
085 /**
086 * Gets (as xml) the "designated-run-as" attribute
087 */
088 org.apache.xmlbeans.XmlBoolean xgetDesignatedRunAs();
089
090 /**
091 * True if has "designated-run-as" attribute
092 */
093 boolean isSetDesignatedRunAs();
094
095 /**
096 * Sets the "designated-run-as" attribute
097 */
098 void setDesignatedRunAs(boolean designatedRunAs);
099
100 /**
101 * Sets (as xml) the "designated-run-as" attribute
102 */
103 void xsetDesignatedRunAs(org.apache.xmlbeans.XmlBoolean designatedRunAs);
104
105 /**
106 * Unsets the "designated-run-as" attribute
107 */
108 void unsetDesignatedRunAs();
109
110 /**
111 * A factory class with static methods for creating instances
112 * of this type.
113 */
114
115 public static final class Factory
116 {
117 public static org.apache.geronimo.xbeans.geronimo.security.GerDistinguishedNameType newInstance() {
118 return (org.apache.geronimo.xbeans.geronimo.security.GerDistinguishedNameType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
119
120 public static org.apache.geronimo.xbeans.geronimo.security.GerDistinguishedNameType newInstance(org.apache.xmlbeans.XmlOptions options) {
121 return (org.apache.geronimo.xbeans.geronimo.security.GerDistinguishedNameType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
122
123 /** @param xmlAsString the string value to parse */
124 public static org.apache.geronimo.xbeans.geronimo.security.GerDistinguishedNameType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
125 return (org.apache.geronimo.xbeans.geronimo.security.GerDistinguishedNameType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
126
127 public static org.apache.geronimo.xbeans.geronimo.security.GerDistinguishedNameType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
128 return (org.apache.geronimo.xbeans.geronimo.security.GerDistinguishedNameType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
129
130 /** @param file the file from which to load an xml document */
131 public static org.apache.geronimo.xbeans.geronimo.security.GerDistinguishedNameType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
132 return (org.apache.geronimo.xbeans.geronimo.security.GerDistinguishedNameType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
133
134 public static org.apache.geronimo.xbeans.geronimo.security.GerDistinguishedNameType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
135 return (org.apache.geronimo.xbeans.geronimo.security.GerDistinguishedNameType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
136
137 public static org.apache.geronimo.xbeans.geronimo.security.GerDistinguishedNameType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
138 return (org.apache.geronimo.xbeans.geronimo.security.GerDistinguishedNameType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
139
140 public static org.apache.geronimo.xbeans.geronimo.security.GerDistinguishedNameType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
141 return (org.apache.geronimo.xbeans.geronimo.security.GerDistinguishedNameType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
142
143 public static org.apache.geronimo.xbeans.geronimo.security.GerDistinguishedNameType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
144 return (org.apache.geronimo.xbeans.geronimo.security.GerDistinguishedNameType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
145
146 public static org.apache.geronimo.xbeans.geronimo.security.GerDistinguishedNameType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
147 return (org.apache.geronimo.xbeans.geronimo.security.GerDistinguishedNameType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
148
149 public static org.apache.geronimo.xbeans.geronimo.security.GerDistinguishedNameType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
150 return (org.apache.geronimo.xbeans.geronimo.security.GerDistinguishedNameType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
151
152 public static org.apache.geronimo.xbeans.geronimo.security.GerDistinguishedNameType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
153 return (org.apache.geronimo.xbeans.geronimo.security.GerDistinguishedNameType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
154
155 public static org.apache.geronimo.xbeans.geronimo.security.GerDistinguishedNameType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
156 return (org.apache.geronimo.xbeans.geronimo.security.GerDistinguishedNameType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
157
158 public static org.apache.geronimo.xbeans.geronimo.security.GerDistinguishedNameType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
159 return (org.apache.geronimo.xbeans.geronimo.security.GerDistinguishedNameType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
160
161 public static org.apache.geronimo.xbeans.geronimo.security.GerDistinguishedNameType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
162 return (org.apache.geronimo.xbeans.geronimo.security.GerDistinguishedNameType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
163
164 public static org.apache.geronimo.xbeans.geronimo.security.GerDistinguishedNameType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
165 return (org.apache.geronimo.xbeans.geronimo.security.GerDistinguishedNameType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
166
167 /** @deprecated {@link XMLInputStream} */
168 public static org.apache.geronimo.xbeans.geronimo.security.GerDistinguishedNameType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
169 return (org.apache.geronimo.xbeans.geronimo.security.GerDistinguishedNameType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
170
171 /** @deprecated {@link XMLInputStream} */
172 public static org.apache.geronimo.xbeans.geronimo.security.GerDistinguishedNameType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
173 return (org.apache.geronimo.xbeans.geronimo.security.GerDistinguishedNameType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
174
175 /** @deprecated {@link XMLInputStream} */
176 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 {
177 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
178
179 /** @deprecated {@link XMLInputStream} */
180 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 {
181 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
182
183 private Factory() { } // No instance of this class allowed
184 }
185 }