
com.microsoft.schemas.office.x2006.encryption.STHashAlgorithm Maven / Gradle / Ivy
Go to download
XmlBeans generated from various supplied xsds for encryption and signing:
http://msdn.microsoft.com/en-us/library/dd925810(v=office.12).aspx
http://www.ecma-international.org/publications/files/ECMA-ST/Office%20Open%20XML%201st%20edition%20Part%202%20(PDF).zip
http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd
http://uri.etsi.org/01903/v1.3.2/XAdES.xsd
http://uri.etsi.org/01903/v1.4.1/XAdESv141.xsd
http://dublincore.org/schemas/xmls/qdc/2003/04/02/dc.xsd
http://dublincore.org/schemas/xmls/qdc/2003/04/02/dcterms.xsd
http://dublincore.org/schemas/xmls/qdc/2003/04/02/dcmitype.xsd
/*
* XML Type: ST_HashAlgorithm
* Namespace: http://schemas.microsoft.com/office/2006/encryption
* Java type: com.microsoft.schemas.office.x2006.encryption.STHashAlgorithm
*
* Automatically generated - do not modify.
*/
package com.microsoft.schemas.office.x2006.encryption;
/**
* An XML ST_HashAlgorithm(@http://schemas.microsoft.com/office/2006/encryption).
*
* This is an atomic type that is a restriction of com.microsoft.schemas.office.x2006.encryption.STHashAlgorithm.
*/
public interface STHashAlgorithm extends org.apache.xmlbeans.XmlToken
{
public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(STHashAlgorithm.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s0B482D0B338CC9641C1543C3510577FE").resolveHandle("sthashalgorithm65e3type");
org.apache.xmlbeans.StringEnumAbstractBase enumValue();
void set(org.apache.xmlbeans.StringEnumAbstractBase e);
static final Enum SHA_1 = Enum.forString("SHA1");
static final Enum SHA_256 = Enum.forString("SHA256");
static final Enum SHA_384 = Enum.forString("SHA384");
static final Enum SHA_512 = Enum.forString("SHA512");
static final Enum MD_5 = Enum.forString("MD5");
static final Enum MD_4 = Enum.forString("MD4");
static final Enum MD_2 = Enum.forString("MD2");
static final Enum RIPEMD_128 = Enum.forString("RIPEMD-128");
static final Enum RIPEMD_160 = Enum.forString("RIPEMD-160");
static final Enum WHIRLPOOL = Enum.forString("WHIRLPOOL");
static final int INT_SHA_1 = Enum.INT_SHA_1;
static final int INT_SHA_256 = Enum.INT_SHA_256;
static final int INT_SHA_384 = Enum.INT_SHA_384;
static final int INT_SHA_512 = Enum.INT_SHA_512;
static final int INT_MD_5 = Enum.INT_MD_5;
static final int INT_MD_4 = Enum.INT_MD_4;
static final int INT_MD_2 = Enum.INT_MD_2;
static final int INT_RIPEMD_128 = Enum.INT_RIPEMD_128;
static final int INT_RIPEMD_160 = Enum.INT_RIPEMD_160;
static final int INT_WHIRLPOOL = Enum.INT_WHIRLPOOL;
/**
* Enumeration value class for com.microsoft.schemas.office.x2006.encryption.STHashAlgorithm.
* These enum values can be used as follows:
*
* enum.toString(); // returns the string value of the enum
* enum.intValue(); // returns an int value, useful for switches
* // e.g., case Enum.INT_SHA_1
* Enum.forString(s); // returns the enum value for a string
* Enum.forInt(i); // returns the enum value for an int
*
* Enumeration objects are immutable singleton objects that
* can be compared using == object equality. They have no
* public constructor. See the constants defined within this
* class for all the valid values.
*/
static final class Enum extends org.apache.xmlbeans.StringEnumAbstractBase
{
/**
* Returns the enum value for a string, or null if none.
*/
public static Enum forString(java.lang.String s)
{ return (Enum)table.forString(s); }
/**
* Returns the enum value corresponding to an int, or null if none.
*/
public static Enum forInt(int i)
{ return (Enum)table.forInt(i); }
private Enum(java.lang.String s, int i)
{ super(s, i); }
static final int INT_SHA_1 = 1;
static final int INT_SHA_256 = 2;
static final int INT_SHA_384 = 3;
static final int INT_SHA_512 = 4;
static final int INT_MD_5 = 5;
static final int INT_MD_4 = 6;
static final int INT_MD_2 = 7;
static final int INT_RIPEMD_128 = 8;
static final int INT_RIPEMD_160 = 9;
static final int INT_WHIRLPOOL = 10;
public static final org.apache.xmlbeans.StringEnumAbstractBase.Table table =
new org.apache.xmlbeans.StringEnumAbstractBase.Table
(
new Enum[]
{
new Enum("SHA1", INT_SHA_1),
new Enum("SHA256", INT_SHA_256),
new Enum("SHA384", INT_SHA_384),
new Enum("SHA512", INT_SHA_512),
new Enum("MD5", INT_MD_5),
new Enum("MD4", INT_MD_4),
new Enum("MD2", INT_MD_2),
new Enum("RIPEMD-128", INT_RIPEMD_128),
new Enum("RIPEMD-160", INT_RIPEMD_160),
new Enum("WHIRLPOOL", INT_WHIRLPOOL),
}
);
private static final long serialVersionUID = 1L;
private java.lang.Object readResolve() { return forInt(intValue()); }
}
/**
* A factory class with static methods for creating instances
* of this type.
*/
public static final class Factory
{
public static com.microsoft.schemas.office.x2006.encryption.STHashAlgorithm newValue(java.lang.Object obj) {
return (com.microsoft.schemas.office.x2006.encryption.STHashAlgorithm) type.newValue( obj ); }
public static com.microsoft.schemas.office.x2006.encryption.STHashAlgorithm newInstance() {
return (com.microsoft.schemas.office.x2006.encryption.STHashAlgorithm) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
public static com.microsoft.schemas.office.x2006.encryption.STHashAlgorithm newInstance(org.apache.xmlbeans.XmlOptions options) {
return (com.microsoft.schemas.office.x2006.encryption.STHashAlgorithm) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
/** @param xmlAsString the string value to parse */
public static com.microsoft.schemas.office.x2006.encryption.STHashAlgorithm parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
return (com.microsoft.schemas.office.x2006.encryption.STHashAlgorithm) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
public static com.microsoft.schemas.office.x2006.encryption.STHashAlgorithm parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
return (com.microsoft.schemas.office.x2006.encryption.STHashAlgorithm) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
/** @param file the file from which to load an xml document */
public static com.microsoft.schemas.office.x2006.encryption.STHashAlgorithm parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (com.microsoft.schemas.office.x2006.encryption.STHashAlgorithm) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
public static com.microsoft.schemas.office.x2006.encryption.STHashAlgorithm parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (com.microsoft.schemas.office.x2006.encryption.STHashAlgorithm) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
public static com.microsoft.schemas.office.x2006.encryption.STHashAlgorithm parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (com.microsoft.schemas.office.x2006.encryption.STHashAlgorithm) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
public static com.microsoft.schemas.office.x2006.encryption.STHashAlgorithm parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (com.microsoft.schemas.office.x2006.encryption.STHashAlgorithm) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
public static com.microsoft.schemas.office.x2006.encryption.STHashAlgorithm parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (com.microsoft.schemas.office.x2006.encryption.STHashAlgorithm) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
public static com.microsoft.schemas.office.x2006.encryption.STHashAlgorithm parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (com.microsoft.schemas.office.x2006.encryption.STHashAlgorithm) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
public static com.microsoft.schemas.office.x2006.encryption.STHashAlgorithm parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (com.microsoft.schemas.office.x2006.encryption.STHashAlgorithm) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
public static com.microsoft.schemas.office.x2006.encryption.STHashAlgorithm parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (com.microsoft.schemas.office.x2006.encryption.STHashAlgorithm) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
public static com.microsoft.schemas.office.x2006.encryption.STHashAlgorithm parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
return (com.microsoft.schemas.office.x2006.encryption.STHashAlgorithm) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
public static com.microsoft.schemas.office.x2006.encryption.STHashAlgorithm parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
return (com.microsoft.schemas.office.x2006.encryption.STHashAlgorithm) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
public static com.microsoft.schemas.office.x2006.encryption.STHashAlgorithm parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
return (com.microsoft.schemas.office.x2006.encryption.STHashAlgorithm) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
public static com.microsoft.schemas.office.x2006.encryption.STHashAlgorithm parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
return (com.microsoft.schemas.office.x2006.encryption.STHashAlgorithm) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
/** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
public static com.microsoft.schemas.office.x2006.encryption.STHashAlgorithm parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
return (com.microsoft.schemas.office.x2006.encryption.STHashAlgorithm) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
/** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
public static com.microsoft.schemas.office.x2006.encryption.STHashAlgorithm 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 (com.microsoft.schemas.office.x2006.encryption.STHashAlgorithm) 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