org.apache.xerces.impl.dv.xs
Class HexBinaryDV

java.lang.Object
  extended by org.apache.xerces.impl.dv.xs.TypeValidator
      extended by org.apache.xerces.impl.dv.xs.HexBinaryDV

public class HexBinaryDV
extends TypeValidator

Represent the schema type "hexBinary"

Version:
$Id: HexBinaryDV.java 446745 2006-09-15 21:43:58Z mrglavas $
Author:
Neeraj Bajaj, Sun Microsystems, inc., Sandy Gao, IBM

INTERNAL:

Usage of this class is not supported. It may be altered or removed at any time.

Field Summary
 
Fields inherited from class org.apache.xerces.impl.dv.xs.TypeValidator
EQUAL, GREATER_THAN, INDETERMINATE, LESS_THAN
 
Constructor Summary
HexBinaryDV()
           
 
Method Summary
 java.lang.Object getActualValue(java.lang.String content, ValidationContext context)
           
 short getAllowedFacets()
           
 int getDataLength(java.lang.Object value)
           
 
Methods inherited from class org.apache.xerces.impl.dv.xs.TypeValidator
checkExtraRules, compare, getDigit, getFractionDigits, getTotalDigits, isDigit, isIdentical
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HexBinaryDV

public HexBinaryDV()
Method Detail

getAllowedFacets

public short getAllowedFacets()
Specified by:
getAllowedFacets in class TypeValidator

getActualValue

public java.lang.Object getActualValue(java.lang.String content,
                                       ValidationContext context)
                                throws InvalidDatatypeValueException
Specified by:
getActualValue in class TypeValidator
Throws:
InvalidDatatypeValueException

getDataLength

public int getDataLength(java.lang.Object value)
Overrides:
getDataLength in class TypeValidator


Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.