protected boolean included(XSDNamedComponent c) { return included != null ? included.contains( c.getName() ) : true; } }
public GetPropertyExecutor(Object parent, XSDNamedComponent content) { this.parent = parent; name = new QName(content.getTargetNamespace(), content.getName()); }
if (named.getName() == null) continue; String nQName = prefix.toUpperCase()+"."+named.getName(); String binding = named.getName().substring(0,1).toUpperCase() + named.getName().substring(1) + "Binding.class"; if (named.getName() == null) continue; String nQName = prefix.toUpperCase()+"."+named.getName(); String binding = named.getName().substring(0,1).toUpperCase() + named.getName().substring(1) + "Binding.class";
stringBuffer.append(named.getTargetNamespace()); stringBuffer.append(TEXT_2); stringBuffer.append(named.getName()); stringBuffer.append(TEXT_3); String className = named.getName().substring(0,1).toUpperCase() + named.getName().substring(1) + "BindingTest"; String baseClassName = prefix.toUpperCase() + "TestSupport"; stringBuffer.append(prefix.toUpperCase()); stringBuffer.append(TEXT_9); stringBuffer.append(named.getName()); stringBuffer.append(TEXT_10); stringBuffer.append(prefix.toUpperCase()); stringBuffer.append(TEXT_11); stringBuffer.append(named.getName()); stringBuffer.append(TEXT_12); return stringBuffer.toString();
stringBuffer.append(named.getTargetNamespace()); stringBuffer.append(TEXT_7); stringBuffer.append(named.getName()); stringBuffer.append(TEXT_8); String className = named.getName().substring(0,1).toUpperCase() + named.getName().substring(1) + "Binding"; String baseClassName = bindingBaseClass.getName(); baseClassName = baseClassName.substring(bindingBaseClass.getPackage().getName().length()+1); stringBuffer.append(prefix.toUpperCase()); stringBuffer.append(TEXT_19); stringBuffer.append(named.getName()); stringBuffer.append(TEXT_20);
String ns1 = component.getTargetNamespace(); String ns2 = qName.getNamespaceURI(); String n1 = component.getName(); String n2 = qName.getLocalPart();
new QName( base.getTargetNamespace(), base.getName() + "_" + anonymous.getName());
@Override protected void didAdd(int index, Object newObject) { XSDNamedComponent xsdNamedComponent = (XSDNamedComponent)newObject; if (isFromThisNamespace(xsdNamedComponent)) { if (map == null) { map = new HashMap<String, XSDNamedComponent>(); } map.put(xsdNamedComponent.getName(), xsdNamedComponent); } }
public GetPropertyExecutor(Object parent, XSDNamedComponent content) { this.parent = parent; name = new QName(content.getTargetNamespace(),content.getName()); }
public GetPropertyExecutor(Object parent, XSDNamedComponent content) { this.parent = parent; name = new QName(content.getTargetNamespace(), content.getName()); }
@Override protected void didAdd(int index, Object newObject) { XSDNamedComponent xsdNamedComponent = (XSDNamedComponent)newObject; if (isFromThisNamespace(xsdNamedComponent)) { if (map == null) { map = new HashMap<String, XSDNamedComponent>(); } map.put(xsdNamedComponent.getName(), xsdNamedComponent); } }
public GetPropertyExecutor(Object parent, XSDNamedComponent content) { this.parent = parent; name = new QName(content.getTargetNamespace(), content.getName()); }
public UpdateNameCommand(String label, XSDNamedComponent component, String newName) { super(label); if (component instanceof XSDComplexTypeDefinition && component.getName() == null && component.eContainer() instanceof XSDNamedComponent && ((XSDNamedComponent) component.eContainer()).getName() != null) { component = (XSDNamedComponent) component.eContainer(); } this.component = component; this.newName = newName; // this.oldName = component.getName(); }
boolean contains(XSDNamedComponent c, List l) { boolean contains = false; for (Iterator i = l.iterator(); !contains && i.hasNext(); ) { XSDNamedComponent e = (XSDNamedComponent) i.next(); if (e.getName().equals(c.getName())) { if (e.getTargetNamespace() == null) { contains = c.getTargetNamespace() == null; } else { contains = e.getTargetNamespace().equals(c.getTargetNamespace()); } } } return contains; }
public boolean hasSameNameAndTargetNamespace(XSDNamedComponent xsdNamedComponent) { return (getTargetNamespace() == null ? xsdNamedComponent.getTargetNamespace() == null : getTargetNamespace().equals(xsdNamedComponent.getTargetNamespace())) && (getName() == null ? xsdNamedComponent.getName() == null : getName().equals(xsdNamedComponent.getName())); }
public boolean hasSameNameAndTargetNamespace(XSDNamedComponent xsdNamedComponent) { return (getTargetNamespace() == null ? xsdNamedComponent.getTargetNamespace() == null : getTargetNamespace().equals(xsdNamedComponent.getTargetNamespace())) && (getName() == null ? xsdNamedComponent.getName() == null : getName().equals(xsdNamedComponent.getName())); }