net.zeroinstall.model.Archive 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: archive
* Namespace: http://zero-install.sourceforge.net/2004/injector/interface
* Java type: net.zeroinstall.model.Archive
*
* Automatically generated - do not modify.
*/
package net.zeroinstall.model;
/**
* An XML archive(@http://zero-install.sourceforge.net/2004/injector/interface).
*
* This is a complex type.
*/
public interface Archive extends net.zeroinstall.model.DownloadRetrievalMethod
{
public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(Archive.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sF72DE8E096558840226C24CB76C3051D").resolveHandle("archive2e6atype");
/**
* Gets the "type" attribute
*/
java.lang.String getType();
/**
* Gets (as xml) the "type" attribute
*/
org.apache.xmlbeans.XmlString xgetType();
/**
* True if has "type" attribute
*/
boolean isSetType();
/**
* Sets the "type" attribute
*/
void setType(java.lang.String type);
/**
* Sets (as xml) the "type" attribute
*/
void xsetType(org.apache.xmlbeans.XmlString type);
/**
* Unsets the "type" attribute
*/
void unsetType();
/**
* Gets the "start-offset" attribute
*/
long getStartOffset();
/**
* Gets (as xml) the "start-offset" attribute
*/
org.apache.xmlbeans.XmlLong xgetStartOffset();
/**
* True if has "start-offset" attribute
*/
boolean isSetStartOffset();
/**
* Sets the "start-offset" attribute
*/
void setStartOffset(long startOffset);
/**
* Sets (as xml) the "start-offset" attribute
*/
void xsetStartOffset(org.apache.xmlbeans.XmlLong startOffset);
/**
* Unsets the "start-offset" attribute
*/
void unsetStartOffset();
/**
* Gets the "extract" attribute
*/
java.lang.String getExtract();
/**
* Gets (as xml) the "extract" attribute
*/
org.apache.xmlbeans.XmlString xgetExtract();
/**
* True if has "extract" attribute
*/
boolean isSetExtract();
/**
* Sets the "extract" attribute
*/
void setExtract(java.lang.String extract);
/**
* Sets (as xml) the "extract" attribute
*/
void xsetExtract(org.apache.xmlbeans.XmlString extract);
/**
* Unsets the "extract" attribute
*/
void unsetExtract();
/**
* Gets the "dest" attribute
*/
java.lang.String getDest();
/**
* Gets (as xml) the "dest" attribute
*/
org.apache.xmlbeans.XmlString xgetDest();
/**
* True if has "dest" attribute
*/
boolean isSetDest();
/**
* Sets the "dest" attribute
*/
void setDest(java.lang.String dest);
/**
* Sets (as xml) the "dest" attribute
*/
void xsetDest(org.apache.xmlbeans.XmlString dest);
/**
* Unsets the "dest" attribute
*/
void unsetDest();
/**
* A factory class with static methods for creating instances
* of this type.
*/
public static final class Factory
{
public static net.zeroinstall.model.Archive newInstance() {
return (net.zeroinstall.model.Archive) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
public static net.zeroinstall.model.Archive newInstance(org.apache.xmlbeans.XmlOptions options) {
return (net.zeroinstall.model.Archive) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
/** @param xmlAsString the string value to parse */
public static net.zeroinstall.model.Archive parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
return (net.zeroinstall.model.Archive) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
public static net.zeroinstall.model.Archive parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
return (net.zeroinstall.model.Archive) 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.Archive parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (net.zeroinstall.model.Archive) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
public static net.zeroinstall.model.Archive parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (net.zeroinstall.model.Archive) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
public static net.zeroinstall.model.Archive parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (net.zeroinstall.model.Archive) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
public static net.zeroinstall.model.Archive parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (net.zeroinstall.model.Archive) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
public static net.zeroinstall.model.Archive parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (net.zeroinstall.model.Archive) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
public static net.zeroinstall.model.Archive parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (net.zeroinstall.model.Archive) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
public static net.zeroinstall.model.Archive parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (net.zeroinstall.model.Archive) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
public static net.zeroinstall.model.Archive parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (net.zeroinstall.model.Archive) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
public static net.zeroinstall.model.Archive parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
return (net.zeroinstall.model.Archive) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
public static net.zeroinstall.model.Archive parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
return (net.zeroinstall.model.Archive) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
public static net.zeroinstall.model.Archive parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
return (net.zeroinstall.model.Archive) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
public static net.zeroinstall.model.Archive parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
return (net.zeroinstall.model.Archive) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
/** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
public static net.zeroinstall.model.Archive parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
return (net.zeroinstall.model.Archive) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
/** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
public static net.zeroinstall.model.Archive 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.Archive) 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
}
}