public boolean visit(XSDTypeDefinition type) { if (nameMatches(type, parentTypeName)) { found.add(type); return false; } return true; } };
public boolean visit(XSDTypeDefinition type) { if (nameMatches(type, parentTypeName)) { found.add(type); return false; } return true; } };
/** * Returns an attribute declaration that is contained in the type of another * element declaration. * * @param element The containing element declaration. * @param qName The qualified name of the contained attribute * * @return The contained attribute declaration, or false if containment is * not satisfied. */ public static final XSDAttributeDeclaration getAttributeDeclaration( XSDElementDeclaration element, QName qName) { List atts = getAttributeDeclarations(element); for (Iterator itr = atts.iterator(); itr.hasNext();) { XSDAttributeDeclaration att = (XSDAttributeDeclaration) itr.next(); if (nameMatches(att, qName)) { return att; } } return null; }
/** * Returns an attribute declaration that is contained in the type of another * element declaration. * * @param element The containing element declaration. * @param qName The qualified name of the contained attribute * * @return The contained attribute declaration, or false if containment is * not satisfied. */ public static final XSDAttributeDeclaration getAttributeDeclaration( XSDElementDeclaration element, QName qName) { List atts = getAttributeDeclarations(element); for (Iterator itr = atts.iterator(); itr.hasNext();) { XSDAttributeDeclaration att = (XSDAttributeDeclaration) itr.next(); if (nameMatches(att, qName)) { return att; } } return null; }
/** * Returns an attribute declaration that is contained in the type of another * element declaration. * * @param element The containing element declaration. * @param qName The qualified name of the contained attribute * * @return The contained attribute declaration, or false if containment is * not satisfied. */ public static final XSDAttributeDeclaration getAttributeDeclaration( XSDElementDeclaration element, QName qName) { List atts = getAttributeDeclarations(element); for (Iterator itr = atts.iterator(); itr.hasNext();) { XSDAttributeDeclaration att = (XSDAttributeDeclaration) itr.next(); if (nameMatches(att, qName)) { return att; } } return null; }
XSDElementDeclaration element = (XSDElementDeclaration) itr.next(); if (nameMatches(element, qName)) { return element; XSDElementDeclaration child = (XSDElementDeclaration) itr.next(); if (nameMatches(child, qName)) { return child;
XSDElementDeclaration element = (XSDElementDeclaration) itr.next(); if (nameMatches(element, qName)) { return element; XSDElementDeclaration child = (XSDElementDeclaration) itr.next(); if (nameMatches(child, qName)) { return child;
XSDElementDeclaration element = (XSDElementDeclaration) itr.next(); if (nameMatches(element, qName)) { return element; XSDElementDeclaration child = (XSDElementDeclaration) itr.next(); if (nameMatches(child, qName)) { return child;
if ( Schemas.nameMatches( instance.getDeclaration(), binding.getTarget() ) ) {
if (Schemas.nameMatches(instance.getDeclaration(), binding.getTarget())) {
if (Schemas.nameMatches(instance.getDeclaration(), binding.getTarget())) {