|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요 : 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
java.lang.Objectjavax.xml.crypto.dsig.spec.XPathType
public class XPathType
「W3C Recommendation for XML-Signature XPath Filter 2.0 」으로 정의되고 있는,XPath
요소의 XML schema 정의입니다.
<schema xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:xf="http://www.w3.org/2002/06/xmldsig-filter2"
targetNamespace="http://www.w3.org/2002/06/xmldsig-filter2"
version="0.1" elementFormDefault="qualified">
<element name="XPath"
type="xf:XPathType"/>
<complexType name="XPathType">
<simpleContent>
<extension base="string">
<attribute name="Filter">
<simpleType>
<restriction base="string">
<enumeration value="intersect"/>
<enumeration value="subtract"/>
<enumeration value="union"/>
</restriction>
</simpleType>
</attribute>
</extension>
</simpleContent>
</complexType>
XPathFilter2ParameterSpec
상자의 클래스의 개요 | |
---|---|
static class |
XPathType.Filter
필터 설정 조작을 표현합니다. |
생성자 의 개요 | |
---|---|
XPathType (String expression,
XPathType.Filter filter)
지정한 XPath 식 및 필터를 사용해, XPathType 를 작성합니다. |
|
XPathType (String expression,
XPathType.Filter filter,
Map namespaceMap)
지정한 XPath 식, 필터 및 이름 공간 맵을 사용해, XPathType 를 작성합니다. |
메소드의 개요 | |
---|---|
String |
getExpression ()
평가하는 XPath 식을 돌려줍니다. |
XPathType.Filter |
getFilter ()
필터 처리를 돌려줍니다. |
Map |
getNamespaceMap ()
이름 공간 접두사의 맵을 돌려줍니다. |
클래스 java.lang. Object 로부터 상속된 메소드 |
---|
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
생성자 의 상세 |
---|
public XPathType(String expression, XPathType.Filter filter)
XPathType
를 작성합니다.
expression
- 평가하는 XPath 식filter
- 필터 처리 (XPathType.Filter.INTERSECT
,
XPathType.Filter.SUBTRACT
, 또는 XPathType.Filter.UNION
)
NullPointerException
- expression
또는
filter
가 null
의 경우public XPathType(String expression, XPathType.Filter filter, Map namespaceMap)
XPathType
를 작성합니다. 이후의 변경으로부터 보호하기 위해서, 맵은 복제됩니다.
expression
- 평가하는 XPath 식filter
- 필터 처리 (XPathType.Filter.INTERSECT
,
XPathType.Filter.SUBTRACT
, 또는 XPathType.Filter.UNION
)namespaceMap
- 이름 공간 접두사의 맵. 각각의 열쇠는,
대응하는 이름 공간 URI String
에 매핑 하는 이름 공간 접두사
String
입니다.
NullPointerException
- expression
,
filter
또는 namespaceMap
가
null 의 경우
ClassCastException
- 맵의 열쇠 또는 항목이
String
의 형태가 아닌 경우메소드의 상세 |
---|
public String getExpression()
public XPathType.Filter getFilter()
public Map getNamespaceMap()
String
에 매핑 하는 이름 공간 접두사 String
입니다.
이 구현은,변경 불가능한 맵
을 돌려줍니다.
Map
.
빈 상태(empty)에서 만나도 괜찮지만,null
는 되지 않는다
|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요 : 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.