JavaTM Platform
Standard Ed. 6

인터페이스
javax.print.attribute.Attribute 의 사용

Attribute 를 사용하고 있는 패키지
javax.print JavaTM Print Service API 의 주요한 클래스 및 인터페이스를 제공합니다.  
javax.print.attribute JavaTM Print Service 의 속성의 형태와 그것들이 속성 세트에 수집되는 방법을 기술하는 클래스와 인스턴스를 제공합니다.  
javax.print.attribute.standard 이 패키지에는, 특정의 인쇄 속성의 클래스가 포함되어 있습니다.  
 

javax.print 에서의 Attribute 의 사용
 

Attribute 를 돌려주는 javax.print 의 메소드
 Attribute [] AttributeException. getUnsupportedValues ()
          Print Service 인스턴스가 속성을 지원하지만, 특정의 속성치는 지원하지 않는 인쇄 속성의 배열을 돌려줍니다.
 

Attribute 형의 파라미터를 가지는 javax.print 의 메소드
 boolean PrintService. isAttributeValueSupported (Attribute  attrval, DocFlavor  flavor, AttributeSet  attributes)
          이 Print Service 용의 작업 설정시에, 클라이언트가 특정의 인쇄 속성치를 지정 가능한가 어떤가를 판별합니다.
 

Attribute 형의 형태 인수를 가지는 javax.print 의 메소드 파라미터
 Object PrintService. getDefaultAttributeValue (Class <? extends Attribute > category)
          이 인쇄 서비스의 지정된 카테고리내에서의 디폴트 인쇄 속성치를 판별합니다.
 Object PrintService. getSupportedAttributeValues (Class <? extends Attribute > category, DocFlavor  flavor, AttributeSet  attributes)
          이 인쇄 서비스용의 작업 설정시에, 클라이언트가 특정의 카테고리내에서 지정 가능한 인쇄 속성치를 판별합니다.
 boolean PrintService. isAttributeCategorySupported (Class <? extends Attribute > category)
          이 인쇄 서비스의 작업 설정시에, 클라이언트가 특정의 인쇄 속성 카테고리를 지정 가능한가 어떤가를 판별합니다.
 

javax.print.attribute 에서의 Attribute 의 사용
 

javax.print.attribute 에서의 Attribute 의 서브 인터페이스
 interface DocAttribute
          DocAttribute 인터페이스는, 속성이 문서의 설정을 표시하는 것을 나타내기 위해서(때문에), 인쇄 속성 클래스가 구현하는 태그 기능 인터페이스입니다.
 interface PrintJobAttribute
          PrintJobAttribute 는, 속성이 Print Job 상태 또는 Print Job 의 그 외의 특성을 기술하는 것을 나타내기 위해서(때문에), 인쇄 속성 클래스가 구현하는 태그 기능 인터페이스입니다.
 interface PrintRequestAttribute
          PrintRequestAttribute 인터페이스는, 속성이 필요한 인쇄 작업의 설정을 표시하는 것을 나타내기 위해서(때문에), 인쇄 속성 클래스가 구현하는 태그 기능 인터페이스입니다.
 interface PrintServiceAttribute
          PrintServiceAttribute 인터페이스는, 속성이 Print Service 상태 또는 Print Service 의 그 외의 특성을 기술하는 것을 나타내기 위해서(때문에), 인쇄 속성 클래스가 구현하는 태그 기능 인터페이스입니다.
 interface SupportedValuesAttribute
          SupportedValuesAttribute 인터페이스는, 속성이 다른 속성으로 지원되는 값을 기술하는 것을 나타내기 위해서(때문에), 인쇄 속성 클래스가 구현하는 태그 기능 인터페이스입니다.
 

Attribute 를 돌려주는 javax.print.attribute 의 메소드
 Attribute HashAttributeSet. get (Class <? > category)
          지정된 속성 카테고리에 포함되는 속성 세트의 속성치를 돌려줍니다.
 Attribute AttributeSet. get (Class <? > category)
          지정된 속성 카테고리에 포함되는 속성 세트의 속성치를 돌려줍니다.
 Attribute [] HashAttributeSet. toArray ()
           
 Attribute [] AttributeSet. toArray ()
          이 세트에 포함되어 있는 속성의 배열을 돌려줍니다.
static Attribute AttributeSetUtilities. verifyAttributeValue (Object  object, Class <? > interfaceName)
          지정된 객체가, 지정된 인터페이스의 인스턴스인 것을 판정합니다.
 

Attribute 형의 인수를 가지는 형태를 돌려주는 javax.print.attribute 의 메소드
 Class <? extends Attribute > Attribute. getCategory ()
          속성 세트에 추가되었을 때에, 이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 

Attribute 형의 파라미터를 가지는 javax.print.attribute 의 메소드
 boolean PrintServiceAttributeSet. add (Attribute  attribute)
          속성을 아직 보관 유지하고 있지 않는 경우, 최초로 지정된 속성치와 같은 속성 카테고리에 있는 값을 삭제하고 나서, 이 속성 세트로 지정된 속성을 추가합니다 (임의의 오퍼레이션).
 boolean PrintRequestAttributeSet. add (Attribute  attribute)
          속성을 아직 보관 유지하고 있지 않는 경우, 최초로 지정된 속성치와 같은 속성 카테고리에 있는 값을 삭제하고 나서, 이 속성 세트로 지정된 속성을 추가합니다 (임의의 오퍼레이션).
 boolean PrintJobAttributeSet. add (Attribute  attribute)
          속성을 아직 보관 유지하고 있지 않는 경우, 최초로 지정된 속성치와 같은 속성 카테고리에 있는 값을 삭제하고 나서, 이 속성 세트로 지정된 속성을 추가합니다 (임의의 오퍼레이션).
 boolean HashAttributeSet. add (Attribute  attribute)
          속성을 아직 보관 유지하고 있지 않는 경우, 최초로 지정된 속성치와 같은 속성 카테고리에 있는 속성치를 삭제하고 나서, 이 속성 세트로 지정된 속성을 추가합니다.
 boolean DocAttributeSet. add (Attribute  attribute)
          속성을 아직 보관 유지하고 있지 않는 경우, 최초로 지정된 속성치와 같은 속성 카테고리에 있는 값을 삭제하고 나서, 이 속성 세트로 지정된 속성을 추가합니다 (임의의 오퍼레이션).
 boolean AttributeSet. add (Attribute  attribute)
          속성을 아직 보관 유지하고 있지 않는 경우, 최초로 지정된 속성치와 같은 속성 카테고리에 있는 값을 삭제하고 나서, 속성 세트로 지정된 속성을 추가합니다.
 boolean HashAttributeSet. containsValue (Attribute  attribute)
          속성 세트가 지정된 속성을 보관 유지하고 있는 경우에 true 를 돌려줍니다.
 boolean AttributeSet. containsValue (Attribute  attribute)
          속성 세트가 지정된 속성치를 보관 유지하고 있는 경우에 true 를 돌려줍니다.
 boolean HashAttributeSet. remove (Attribute  attribute)
          속성 세트로부터 지정된 속성을 삭제합니다 (존재하는 경우).
 boolean AttributeSet. remove (Attribute  attribute)
          속성 세트로부터 지정된 속성을 삭제합니다 (존재하는 경우).
static void AttributeSetUtilities. verifyCategoryForValue (Class <? > category, Attribute  attribute)
          지정된 속성 카테고리의 객체가, 지정된 속성치의 객체의 카테고리와 동일한지 어떤지를 판정합니다.
 

Attribute 형의 파라미터를 가지는 javax.print.attribute 의 생성자
HashAttributeSet (Attribute  attribute)
          초기 상태로 지정된 속성에 의해 생성된 속성 세트의 새로운 속성 세트를 구축합니다.
HashAttributeSet (Attribute [] attributes)
          초기 상태로 지정된 배열의 값으로 생성된 속성 세트의 새로운 속성 세트를 구축합니다.
HashAttributeSet (Attribute [] attributes, Class <? > interfaceName)
          새로운 속성 세트를 구축합니다.
HashAttributeSet (Attribute  attribute, Class <? > interfaceName)
          초기 상태로 지정된 속성에 의해 생성된 속성 세트의 새로운 빈 상태(empty)의 속성 세트를 구축합니다.
 

javax.print.attribute.standard 에서의 Attribute 의 사용
 

Attribute 형의 인수를 가지는 형태를 돌려주는 javax.print.attribute.standard 의 메소드
 Class <? extends Attribute > Sides. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > SheetCollate. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > Severity. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > RequestingUserName. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > ReferenceUriSchemesSupported. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > QueuedJobCount. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > PrinterURI. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > PrinterStateReasons. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > PrinterStateReason. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > PrinterState. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > PrinterResolution. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > NumberUp. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > PrinterName. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > PrinterMoreInfoManufacturer. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > PrinterMoreInfo. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > PrinterMessageFromOperator. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > PrinterMakeAndModel. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > PrinterLocation. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > PrinterIsAcceptingJobs. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > PrinterInfo. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > PrintQuality. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > PresentationDirection. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > PagesPerMinuteColor. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > PagesPerMinute. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > PageRanges. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > PDLOverrideSupported. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > NumberUpSupported. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > OutputDeviceAssigned. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > OrientationRequested. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > NumberOfInterveningJobs. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > NumberOfDocuments. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > MultipleDocumentHandling. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > MediaSize. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > MediaPrintableArea. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > Media. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > JobStateReasons. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > JobStateReason. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > JobState. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > JobSheets. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > JobPrioritySupported. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > JobPriority. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > JobOriginatingUserName. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > JobName. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > JobMessageFromOperator. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > JobMediaSheetsSupported. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > JobMediaSheetsCompleted. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > JobMediaSheets. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > JobKOctetsSupported. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > JobKOctetsProcessed. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > JobKOctets. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > JobImpressionsSupported. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > JobImpressionsCompleted. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > JobImpressions. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > JobHoldUntil. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > Finishings. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > Fidelity. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > DocumentName. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > Destination. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > DateTimeAtProcessing. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > DateTimeAtCreation. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > DateTimeAtCompleted. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > CopiesSupported. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > Copies. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > Compression. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > ColorSupported. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 Class <? extends Attribute > Chromaticity. getCategory ()
          이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다.
 


JavaTM Platform
Standard Ed. 6

버그의 보고와 기능의 요청
한층 더 자세한 API 레퍼런스 및 개발자 문서에 대해서는,Java SE 개발자용 문서를 참조해 주세요. 개발자전용의 상세한 해설, 개념의 개요, 용어의 정의, 버그의 회피책, 및 코드 실례가 포함되어 있습니다.

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.