
net.zeroinstall.model.RestrictionBase Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zeroinstall-model Show documentation
Show all versions of zeroinstall-model Show documentation
The Zero Install XSD model transformed by Apache XMLBeans to Java source code.
The newest version!
/*
* XML Type: restriction-base
* Namespace: http://zero-install.sourceforge.net/2004/injector/interface
* Java type: net.zeroinstall.model.RestrictionBase
*
* Automatically generated - do not modify.
*/
package net.zeroinstall.model;
/**
* An XML restriction-base(@http://zero-install.sourceforge.net/2004/injector/interface).
*
* This is a complex type.
*/
public interface RestrictionBase extends net.zeroinstall.model.FeedElement
{
public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(RestrictionBase.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sF72DE8E096558840226C24CB76C3051D").resolveHandle("restrictionbase4dcctype");
/**
* Gets the "interface" attribute
*/
java.lang.String getInterface();
/**
* Gets (as xml) the "interface" attribute
*/
org.apache.xmlbeans.XmlString xgetInterface();
/**
* Sets the "interface" attribute
*/
void setInterface(java.lang.String xinterface);
/**
* Sets (as xml) the "interface" attribute
*/
void xsetInterface(org.apache.xmlbeans.XmlString xinterface);
/**
* Gets the "os" attribute
*/
net.zeroinstall.model.Os.Enum getOs();
/**
* Gets (as xml) the "os" attribute
*/
net.zeroinstall.model.Os xgetOs();
/**
* True if has "os" attribute
*/
boolean isSetOs();
/**
* Sets the "os" attribute
*/
void setOs(net.zeroinstall.model.Os.Enum os);
/**
* Sets (as xml) the "os" attribute
*/
void xsetOs(net.zeroinstall.model.Os os);
/**
* Unsets the "os" attribute
*/
void unsetOs();
/**
* Gets the "distribution" attribute
*/
java.lang.String getDistribution();
/**
* Gets (as xml) the "distribution" attribute
*/
org.apache.xmlbeans.XmlString xgetDistribution();
/**
* True if has "distribution" attribute
*/
boolean isSetDistribution();
/**
* Sets the "distribution" attribute
*/
void setDistribution(java.lang.String distribution);
/**
* Sets (as xml) the "distribution" attribute
*/
void xsetDistribution(org.apache.xmlbeans.XmlString distribution);
/**
* Unsets the "distribution" attribute
*/
void unsetDistribution();
/**
* Gets the "version" attribute
*/
java.lang.String getVersion();
/**
* Gets (as xml) the "version" attribute
*/
org.apache.xmlbeans.XmlString xgetVersion();
/**
* True if has "version" attribute
*/
boolean isSetVersion();
/**
* Sets the "version" attribute
*/
void setVersion(java.lang.String version);
/**
* Sets (as xml) the "version" attribute
*/
void xsetVersion(org.apache.xmlbeans.XmlString version);
/**
* Unsets the "version" attribute
*/
void unsetVersion();
/**
* A factory class with static methods for creating instances
* of this type.
*/
public static final class Factory
{
/** @deprecated No need to be able to create instances of abstract types */
public static net.zeroinstall.model.RestrictionBase newInstance() {
return (net.zeroinstall.model.RestrictionBase) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
/** @deprecated No need to be able to create instances of abstract types */
public static net.zeroinstall.model.RestrictionBase newInstance(org.apache.xmlbeans.XmlOptions options) {
return (net.zeroinstall.model.RestrictionBase) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
/** @param xmlAsString the string value to parse */
public static net.zeroinstall.model.RestrictionBase parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
return (net.zeroinstall.model.RestrictionBase) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
public static net.zeroinstall.model.RestrictionBase parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
return (net.zeroinstall.model.RestrictionBase) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
/** @param file the file from which to load an xml document */
public static net.zeroinstall.model.RestrictionBase parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (net.zeroinstall.model.RestrictionBase) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
public static net.zeroinstall.model.RestrictionBase parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (net.zeroinstall.model.RestrictionBase) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
public static net.zeroinstall.model.RestrictionBase parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (net.zeroinstall.model.RestrictionBase) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
public static net.zeroinstall.model.RestrictionBase parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (net.zeroinstall.model.RestrictionBase) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
public static net.zeroinstall.model.RestrictionBase parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (net.zeroinstall.model.RestrictionBase) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
public static net.zeroinstall.model.RestrictionBase parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (net.zeroinstall.model.RestrictionBase) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
public static net.zeroinstall.model.RestrictionBase parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (net.zeroinstall.model.RestrictionBase) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
public static net.zeroinstall.model.RestrictionBase parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (net.zeroinstall.model.RestrictionBase) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
public static net.zeroinstall.model.RestrictionBase parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
return (net.zeroinstall.model.RestrictionBase) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
public static net.zeroinstall.model.RestrictionBase parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
return (net.zeroinstall.model.RestrictionBase) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
public static net.zeroinstall.model.RestrictionBase parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
return (net.zeroinstall.model.RestrictionBase) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
public static net.zeroinstall.model.RestrictionBase parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
return (net.zeroinstall.model.RestrictionBase) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
/** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
public static net.zeroinstall.model.RestrictionBase parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
return (net.zeroinstall.model.RestrictionBase) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
/** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
public static net.zeroinstall.model.RestrictionBase parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
return (net.zeroinstall.model.RestrictionBase) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
/** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
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 {
return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
/** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
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 {
return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
private Factory() { } // No instance of this class allowed
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy