Lines Matching defs:ancestorNS
2581 public boolean derivedFrom(String ancestorNS, String ancestorName, short derivation) {
2588 if (URI_SCHEMAFORSCHEMA.equals(ancestorNS) &&
2596 ((ancestorNS == null && type.getNamespace() == null) ||
2597 (ancestorNS != null && ancestorNS.equals(type.getNamespace())))) && // compare with ancestor
2610 * @param ancestorNS
2619 public boolean isDOMDerivedFrom(String ancestorNS, String ancestorName, int derivationMethod) {
2626 if (SchemaSymbols.URI_SCHEMAFORSCHEMA.equals(ancestorNS)
2635 if (isDerivedByRestriction(ancestorNS, ancestorName, this)) {
2642 if (isDerivedByList(ancestorNS, ancestorName, this)) {
2649 if (isDerivedByUnion(ancestorNS, ancestorName, this)) {
2669 return isDerivedByAny(ancestorNS, ancestorName, this);
2680 * @param ancestorNS
2689 private boolean isDerivedByAny(String ancestorNS, String ancestorName,
2699 && ((ancestorNS == null && type.getNamespace() == null)
2700 || (ancestorNS != null && ancestorNS.equals(type.getNamespace())))) {
2706 if (isDerivedByRestriction(ancestorNS, ancestorName, type)) {
2708 } else if (isDerivedByList(ancestorNS, ancestorName, type)) {
2710 } else if (isDerivedByUnion(ancestorNS, ancestorName, type)) {
2720 return isDerivedByAny(ancestorNS, ancestorName,
2737 * @param ancestorNS
2747 private boolean isDerivedByRestriction (String ancestorNS, String ancestorName, XSTypeDefinition type) {
2751 && ((ancestorNS != null && ancestorNS.equals(type.getNamespace()))
2752 || (type.getNamespace() == null && ancestorNS == null))) {
2767 * @param ancestorNS
2776 private boolean isDerivedByList (String ancestorNS, String ancestorName, XSTypeDefinition type) {
2787 if (isDerivedByRestriction(ancestorNS, ancestorName, itemType)) {
2799 * @param ancestorNS
2808 private boolean isDerivedByUnion (String ancestorNS, String ancestorName, XSTypeDefinition type) {
2820 if (isDerivedByRestriction(ancestorNS, ancestorName,(XSSimpleTypeDefinition)memberTypes.item(i))) {