Top Description Inners Fields Constructors Methods
org.apache.xerces.impl.dv.xs

public Class QNameDV

extends TypeValidator
Class Inheritance
Imports
org.apache.xerces.impl.dv.InvalidDatatypeValueException, .ValidationContext, org.apache.xerces.util.XMLChar, org.apache.xerces.xni.QName, org.apache.xerces.xs.datatypes.XSQName

Represent the schema type "QName" and "NOTATION"
Authors
Neeraj Bajaj, Sun Microsystems, inc., Sandy Gao, IBM
Version
$Id: QNameDV.java 701915 2008-10-06 02:39:42Z mrglavas $

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class
QNameDV.XQName

represent QName data

Field Summary

Modifier and TypeField and Description
private static final String
Inherited from org.apache.xerces.impl.dv.xs.TypeValidator:
EQUALGREATER_THANINDETERMINATELESS_THAN

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Object
public short
public int
Inherited from org.apache.xerces.impl.dv.xs.TypeValidator:
checkExtraRulescomparegetDigitgetFractionDigitsgetTotalDigitsisDigitisIdentical

Field Detail

EMPTY_STRINGback to summary
private static final String EMPTY_STRING

Constructor Detail

QNameDVback to summary
public QNameDV()

Method Detail

getActualValueback to summary
public Object getActualValue(String content, ValidationContext context) throws InvalidDatatypeValueException

Implements abstract org.apache.xerces.impl.dv.xs.TypeValidator.getActualValue.

getAllowedFacetsback to summary
public short getAllowedFacets()

Implements abstract org.apache.xerces.impl.dv.xs.TypeValidator.getAllowedFacets.

getDataLengthback to summary
public int getDataLength(Object value)

Overrides org.apache.xerces.impl.dv.xs.TypeValidator.getDataLength.

org.apache.xerces.impl.dv.xs back to summary

private final Class QNameDV.XQName

extends QName
implements XSQName
Class Inheritance
All Implemented Interfaces
org.apache.xerces.xs.datatypes.XSQName

represent QName data

Field Summary

Inherited from org.apache.xerces.xni.QName:
localpartprefixrawnameuri

Constructor Summary

AccessConstructor and Description
public
XQName(String prefix, String localpart, String rawname, String uri)

Constructs a QName with the specified values.

Method Summary

Modifier and TypeMethod and Description
public boolean
equals(Object
the reference object with which to compare.
object
)

Overrides org.apache.xerces.xni.QName.equals.

Returns true if the two objects are equal.
public QName
public QName
public String
toString()

Overrides org.apache.xerces.xni.QName.toString.

Returns a string representation of this object.
Inherited from org.apache.xerces.xni.QName:
clearclonehashCodesetValuessetValues

Constructor Detail

XQNameback to summary
public XQName(String prefix, String localpart, String rawname, String uri)

Constructs a QName with the specified values.

Method Detail

equalsback to summary
public boolean equals(Object object)

Overrides org.apache.xerces.xni.QName.equals.

Returns true if the two objects are equal.

Parameters
object:Object

Doc from java.lang.Object.equals.

the reference object with which to compare.

Returns:boolean

Doc from java.lang.Object.equals.

true if this object is the same as the obj argument; false otherwise.

getJAXPQNameback to summary
public QName getJAXPQName()

Implements org.apache.xerces.xs.datatypes.XSQName.getJAXPQName.

Returns:QName

Doc from org.apache.xerces.xs.datatypes.XSQName.getJAXPQName.

javax.xml.namespace.QName class instance

getXNIQNameback to summary
public QName getXNIQName()

Implements org.apache.xerces.xs.datatypes.XSQName.getXNIQName.

Returns:QName

Doc from org.apache.xerces.xs.datatypes.XSQName.getXNIQName.

org.apache.xerces.xni.QName class instance

toStringback to summary
public String toString()

Overrides org.apache.xerces.xni.QName.toString.

Doc from org.apache.xerces.xni.QName.toString.

Returns a string representation of this object.

Returns:String

Doc from java.lang.Object.toString.

a string representation of the object.