1 22 23 package org.xquark.schema.datatypes; 24 25 26 class QNameType extends AbstractQNameType { 27 private static final String RCSRevision = "$Revision: 1.1 $"; 28 private static final String RCSName = "$Name: $"; 29 30 QNameType() { 31 super("QName", PrimitiveType.QNAME); 32 } 33 34 protected QName createQName(String namespaceURI, String localName) { 35 return new Value(namespaceURI, localName); 36 } 37 38 class Value extends QName { 39 40 public Value(String namespaceURI, String localName) { 41 super(namespaceURI, localName); 42 } 43 44 protected boolean checkClass(Object obj) { 45 return obj instanceof Value; 46 } 47 } 48 49 } 50 | Popular Tags |