javax.print.attribute.standard
Class ReferenceUriSchemesSupported

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by javax.print.attribute.EnumSyntax sample code for javax.print.attribute.EnumSyntax definition code for javax.print.attribute.EnumSyntax 
      extended by javax.print.attribute.standard.ReferenceUriSchemesSupported
All Implemented Interfaces:
Serializable sample code for java.io.Serializable definition code for java.io.Serializable , Cloneable sample code for java.lang.Cloneable definition code for java.lang.Cloneable , Attribute sample code for javax.print.attribute.Attribute definition code for javax.print.attribute.Attribute

public class ReferenceUriSchemesSupported
extends EnumSyntax sample code for javax.print.attribute.EnumSyntax definition code for javax.print.attribute.EnumSyntax
implements Attribute sample code for javax.print.attribute.Attribute definition code for javax.print.attribute.Attribute

Class ReferenceUriSchemesSupported is a printing attribute class an enumeration, that indicates a "URI scheme," such as "http:" or "ftp:", that a printer can use to retrieve print data stored at a URI location. If a printer supports doc flavors with a print data representation class of "java.net.URL", the printer uses instances of class ReferenceUriSchemesSupported to advertise the URI schemes it can accept. The acceptable URI schemes are included as service attributes in the lookup service; this lets clients search the for printers that can get print data using a certain URI scheme. The acceptable URI schemes can also be queried using the capability methods in interface PrintService. However, ReferenceUriSchemesSupported attributes are used solely for determining acceptable URI schemes, they are never included in a doc's, print request's, print job's, or print service's attribute set.

The Internet Assigned Numbers Authority maintains the official list of URI schemes.

Class ReferenceUriSchemesSupported defines enumeration values for widely used URI schemes. A printer that supports additional URI schemes can define them in a subclass of class ReferenceUriSchemesSupported.

IPP Compatibility: The category name returned by getName() is the IPP attribute name. The enumeration's integer value is the IPP enum value. The toString() method returns the IPP string representation of the attribute value.

See Also:
Serialized Form

Field Summary
static ReferenceUriSchemesSupported sample code for javax.print.attribute.standard.ReferenceUriSchemesSupported definition code for javax.print.attribute.standard.ReferenceUriSchemesSupported FILE sample code for javax.print.attribute.standard.ReferenceUriSchemesSupported.FILE definition code for javax.print.attribute.standard.ReferenceUriSchemesSupported.FILE
          Host-specific file names.
static ReferenceUriSchemesSupported sample code for javax.print.attribute.standard.ReferenceUriSchemesSupported definition code for javax.print.attribute.standard.ReferenceUriSchemesSupported FTP sample code for javax.print.attribute.standard.ReferenceUriSchemesSupported.FTP definition code for javax.print.attribute.standard.ReferenceUriSchemesSupported.FTP
          File Transfer Protocol (FTP).
static ReferenceUriSchemesSupported sample code for javax.print.attribute.standard.ReferenceUriSchemesSupported definition code for javax.print.attribute.standard.ReferenceUriSchemesSupported GOPHER sample code for javax.print.attribute.standard.ReferenceUriSchemesSupported.GOPHER definition code for javax.print.attribute.standard.ReferenceUriSchemesSupported.GOPHER
          Gopher Protocol.
static ReferenceUriSchemesSupported sample code for javax.print.attribute.standard.ReferenceUriSchemesSupported definition code for javax.print.attribute.standard.ReferenceUriSchemesSupported HTTP sample code for javax.print.attribute.standard.ReferenceUriSchemesSupported.HTTP definition code for javax.print.attribute.standard.ReferenceUriSchemesSupported.HTTP
          HyperText Transfer Protocol (HTTP).
static ReferenceUriSchemesSupported sample code for javax.print.attribute.standard.ReferenceUriSchemesSupported definition code for javax.print.attribute.standard.ReferenceUriSchemesSupported HTTPS sample code for javax.print.attribute.standard.ReferenceUriSchemesSupported.HTTPS definition code for javax.print.attribute.standard.ReferenceUriSchemesSupported.HTTPS
          Secure HyperText Transfer Protocol (HTTPS).
static ReferenceUriSchemesSupported sample code for javax.print.attribute.standard.ReferenceUriSchemesSupported definition code for javax.print.attribute.standard.ReferenceUriSchemesSupported NEWS sample code for javax.print.attribute.standard.ReferenceUriSchemesSupported.NEWS definition code for javax.print.attribute.standard.ReferenceUriSchemesSupported.NEWS
          USENET news.
static ReferenceUriSchemesSupported sample code for javax.print.attribute.standard.ReferenceUriSchemesSupported definition code for javax.print.attribute.standard.ReferenceUriSchemesSupported NNTP sample code for javax.print.attribute.standard.ReferenceUriSchemesSupported.NNTP definition code for javax.print.attribute.standard.ReferenceUriSchemesSupported.NNTP
          USENET news using Network News Transfer Protocol (NNTP).
static ReferenceUriSchemesSupported sample code for javax.print.attribute.standard.ReferenceUriSchemesSupported definition code for javax.print.attribute.standard.ReferenceUriSchemesSupported WAIS sample code for javax.print.attribute.standard.ReferenceUriSchemesSupported.WAIS definition code for javax.print.attribute.standard.ReferenceUriSchemesSupported.WAIS
          Wide Area Information Server (WAIS) protocol.
 
Constructor Summary
protected ReferenceUriSchemesSupported sample code for javax.print.attribute.standard.ReferenceUriSchemesSupported.ReferenceUriSchemesSupported(int) definition code for javax.print.attribute.standard.ReferenceUriSchemesSupported.ReferenceUriSchemesSupported(int) (int value)
          Construct a new reference URI scheme enumeration value with the given integer value.
 
Method Summary
 Class sample code for java.lang.Class definition code for java.lang.Class <? extends Attribute sample code for javax.print.attribute.Attribute definition code for javax.print.attribute.Attribute > getCategory sample code for javax.print.attribute.standard.ReferenceUriSchemesSupported.getCategory() definition code for javax.print.attribute.standard.ReferenceUriSchemesSupported.getCategory() ()
          Get the printing attribute class which is to be used as the "category" for this printing attribute value.
protected  EnumSyntax sample code for javax.print.attribute.EnumSyntax definition code for javax.print.attribute.EnumSyntax [] getEnumValueTable sample code for javax.print.attribute.standard.ReferenceUriSchemesSupported.getEnumValueTable() definition code for javax.print.attribute.standard.ReferenceUriSchemesSupported.getEnumValueTable() ()
          Returns the enumeration value table for class ReferenceUriSchemesSupported.
 String sample code for java.lang.String definition code for java.lang.String getName sample code for javax.print.attribute.standard.ReferenceUriSchemesSupported.getName() definition code for javax.print.attribute.standard.ReferenceUriSchemesSupported.getName() ()
          Get the name of the category of which this attribute value is an instance.
protected  String sample code for java.lang.String definition code for java.lang.String [] getStringTable sample code for javax.print.attribute.standard.ReferenceUriSchemesSupported.getStringTable() definition code for javax.print.attribute.standard.ReferenceUriSchemesSupported.getStringTable() ()
          Returns the string table for class ReferenceUriSchemesSupported.
 
Methods inherited from class javax.print.attribute.EnumSyntax sample code for javax.print.attribute.EnumSyntax definition code for javax.print.attribute.EnumSyntax
clone sample code for javax.print.attribute.EnumSyntax.clone() definition code for javax.print.attribute.EnumSyntax.clone() , getOffset sample code for javax.print.attribute.EnumSyntax.getOffset() definition code for javax.print.attribute.EnumSyntax.getOffset() , getValue sample code for javax.print.attribute.EnumSyntax.getValue() definition code for javax.print.attribute.EnumSyntax.getValue() , hashCode sample code for javax.print.attribute.EnumSyntax.hashCode() definition code for javax.print.attribute.EnumSyntax.hashCode() , readResolve sample code for javax.print.attribute.EnumSyntax.readResolve() definition code for javax.print.attribute.EnumSyntax.readResolve() , toString sample code for javax.print.attribute.EnumSyntax.toString() definition code for javax.print.attribute.EnumSyntax.toString()
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
equals sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 

Field Detail

FTP sample code for javax.print.attribute.standard.ReferenceUriSchemesSupported.FTP

public static final ReferenceUriSchemesSupported sample code for javax.print.attribute.standard.ReferenceUriSchemesSupported definition code for javax.print.attribute.standard.ReferenceUriSchemesSupported  FTP
File Transfer Protocol (FTP).


HTTP sample code for javax.print.attribute.standard.ReferenceUriSchemesSupported.HTTP

public static final ReferenceUriSchemesSupported sample code for javax.print.attribute.standard.ReferenceUriSchemesSupported definition code for javax.print.attribute.standard.ReferenceUriSchemesSupported  HTTP
HyperText Transfer Protocol (HTTP).


HTTPS sample code for javax.print.attribute.standard.ReferenceUriSchemesSupported.HTTPS

public static final ReferenceUriSchemesSupported sample code for javax.print.attribute.standard.ReferenceUriSchemesSupported definition code for javax.print.attribute.standard.ReferenceUriSchemesSupported  HTTPS
Secure HyperText Transfer Protocol (HTTPS).


GOPHER sample code for javax.print.attribute.standard.ReferenceUriSchemesSupported.GOPHER

public static final ReferenceUriSchemesSupported sample code for javax.print.attribute.standard.ReferenceUriSchemesSupported definition code for javax.print.attribute.standard.ReferenceUriSchemesSupported  GOPHER
Gopher Protocol.


NEWS sample code for javax.print.attribute.standard.ReferenceUriSchemesSupported.NEWS

public static final ReferenceUriSchemesSupported sample code for javax.print.attribute.standard.ReferenceUriSchemesSupported definition code for javax.print.attribute.standard.ReferenceUriSchemesSupported  NEWS
USENET news.


NNTP sample code for javax.print.attribute.standard.ReferenceUriSchemesSupported.NNTP

public static final ReferenceUriSchemesSupported sample code for javax.print.attribute.standard.ReferenceUriSchemesSupported definition code for javax.print.attribute.standard.ReferenceUriSchemesSupported  NNTP
USENET news using Network News Transfer Protocol (NNTP).


WAIS sample code for javax.print.attribute.standard.ReferenceUriSchemesSupported.WAIS

public static final ReferenceUriSchemesSupported sample code for javax.print.attribute.standard.ReferenceUriSchemesSupported definition code for javax.print.attribute.standard.ReferenceUriSchemesSupported  WAIS
Wide Area Information Server (WAIS) protocol.


FILE sample code for javax.print.attribute.standard.ReferenceUriSchemesSupported.FILE

public static final ReferenceUriSchemesSupported sample code for javax.print.attribute.standard.ReferenceUriSchemesSupported definition code for javax.print.attribute.standard.ReferenceUriSchemesSupported  FILE
Host-specific file names.

Constructor Detail

ReferenceUriSchemesSupported sample code for javax.print.attribute.standard.ReferenceUriSchemesSupported(int) definition code for javax.print.attribute.standard.ReferenceUriSchemesSupported(int)

protected ReferenceUriSchemesSupported(int value)
Construct a new reference URI scheme enumeration value with the given integer value.

Parameters:
value - Integer value.
Method Detail

getStringTable sample code for javax.print.attribute.standard.ReferenceUriSchemesSupported.getStringTable() definition code for javax.print.attribute.standard.ReferenceUriSchemesSupported.getStringTable()

protected String sample code for java.lang.String definition code for java.lang.String [] getStringTable()
Returns the string table for class ReferenceUriSchemesSupported.

Overrides:
getStringTable sample code for javax.print.attribute.EnumSyntax.getStringTable() definition code for javax.print.attribute.EnumSyntax.getStringTable() in class EnumSyntax sample code for javax.print.attribute.EnumSyntax definition code for javax.print.attribute.EnumSyntax
Returns:
the string table

getEnumValueTable sample code for javax.print.attribute.standard.ReferenceUriSchemesSupported.getEnumValueTable() definition code for javax.print.attribute.standard.ReferenceUriSchemesSupported.getEnumValueTable()

protected EnumSyntax sample code for javax.print.attribute.EnumSyntax definition code for javax.print.attribute.EnumSyntax [] getEnumValueTable()
Returns the enumeration value table for class ReferenceUriSchemesSupported.

Overrides:
getEnumValueTable sample code for javax.print.attribute.EnumSyntax.getEnumValueTable() definition code for javax.print.attribute.EnumSyntax.getEnumValueTable() in class EnumSyntax sample code for javax.print.attribute.EnumSyntax definition code for javax.print.attribute.EnumSyntax
Returns:
the value table

getCategory sample code for javax.print.attribute.standard.ReferenceUriSchemesSupported.getCategory() definition code for javax.print.attribute.standard.ReferenceUriSchemesSupported.getCategory()

public final Class sample code for java.lang.Class definition code for java.lang.Class <? extends Attribute sample code for javax.print.attribute.Attribute definition code for javax.print.attribute.Attribute > getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value.

For class ReferenceUriSchemesSupported and any vendor-defined subclasses, the category is class ReferenceUriSchemesSupported itself.

Specified by:
getCategory sample code for javax.print.attribute.Attribute.getCategory() definition code for javax.print.attribute.Attribute.getCategory() in interface Attribute sample code for javax.print.attribute.Attribute definition code for javax.print.attribute.Attribute
Returns:
Printing attribute class (category), an instance of class java.lang.Class sample code for java.lang.Class definition code for java.lang.Class .

getName sample code for javax.print.attribute.standard.ReferenceUriSchemesSupported.getName() definition code for javax.print.attribute.standard.ReferenceUriSchemesSupported.getName()

public final String sample code for java.lang.String definition code for java.lang.String  getName()
Get the name of the category of which this attribute value is an instance.

For class ReferenceUriSchemesSupported and any vendor-defined subclasses, the category name is "reference-uri-schemes-supported".

Specified by:
getName sample code for javax.print.attribute.Attribute.getName() definition code for javax.print.attribute.Attribute.getName() in interface Attribute sample code for javax.print.attribute.Attribute definition code for javax.print.attribute.Attribute
Returns:
Attribute category name.