Examples of Namespace


Examples of org.eclipse.persistence.internal.descriptors.Namespace

            XMLDescriptor descriptor = (XMLDescriptor) childSession.getDescriptor(objectValue);
            TreeObjectBuilder objectBuilder = (TreeObjectBuilder) descriptor.getObjectBuilder();

            List extraNamespaces = objectBuilder.addExtraNamespacesToNamespaceResolver(descriptor, marshalRecord, session);
            if (wasXMLRoot) {
                Namespace generatedNamespace = setupFragment(((XMLRoot) originalValue), xmlRootFragment, marshalRecord);
                if (generatedNamespace != null) {
                    extraNamespaces.add(generatedNamespace);
                }
            }
View Full Code Here

Examples of org.eclipse.persistence.internal.oxm.Namespace

                if (namespaceInfo.getLocation() != null && !namespaceInfo.getLocation().equals(GENERATE)) {
                    return null;
                }
                java.util.Vector namespaces = namespaceInfo.getNamespaceResolver().getNamespaces();
                for (int i = 0; i < namespaces.size(); i++) {
                    Namespace nextNamespace = (Namespace) namespaces.get(i);
                    schema.getNamespaceResolver().put(nextNamespace.getPrefix(), nextNamespace.getNamespaceURI());
                }
            }

            if (outputResolver != null) {
                try {
View Full Code Here

Examples of org.eclipse.uml2.uml.Namespace

  }
 
  public static Namespace getNamespaceForEvent(Vertex in_oVertex, Event in_oEvent)
  {
    org.eclipse.uml2.uml.Class oContextClass = Configuration.getContextClassForVertex(in_oVertex);
    Namespace oNamespace = oContextClass;
    if(in_oEvent != null)
    {
      if(in_oEvent instanceof CallEvent)
      {
        CallEvent oCallEvent = (CallEvent)in_oEvent;
View Full Code Here

Examples of org.eclipse.wst.wsdl.Namespace

      }
    }
    else if (object instanceof Namespace)
    {
      // Add a namespace attribute to the Definitions element.
      Namespace ns = (Namespace)object;
      Node adoptionParent = getAdoptionParentNode(eReference); // Definitions node
      // KB: Assumption - The prefix is unique if we are here (by the Definitions model).
      if (adoptionParent != null)
      {
        ((Element)adoptionParent).setAttribute("xmlns:" + ns.getPrefix(), ns.getURI());
      }
    }
  }
View Full Code Here

Examples of org.enhydra.shark.xpdl.elements.Namespace

            ph.setVendor("Together");
        }
        ph.setCreated(Utils.getCurrentDateAndTime());

        Namespaces nss = pkg.getNamespaces();
        Namespace ns = createXPDLObject(nss, "", true);
        ns.setName("xpdl");
        ns.setLocation("http://www.wfmc.org/2002/XPDL1.0");
        adjustXPDLObject(pkg, type);

        return pkg;
    }
View Full Code Here

Examples of org.infinispan.configuration.parsing.Namespace

  }

  @Override
  public Namespace[] getSupportedNamespaces() {
    return new Namespace[] {
        new Namespace(Namespace.INFINISPAN_NS_BASE_URI, "jpa",
            Element.JPA_STORE.getLocalName(), 5, 3),
        new Namespace("", Element.JPA_STORE.getLocalName(), 0, 0) };
  }
View Full Code Here

Examples of org.jboss.as.controller.parsing.Namespace

            throws XMLStreamException {
        final ModelNode address = new ModelNode().setEmptyList();
        if (Element.forName(reader.getLocalName()) != Element.HOST) {
            throw unexpectedElement(reader);
        }
        Namespace readerNS = Namespace.forUri(reader.getNamespaceURI());
        switch (readerNS) {
            case DOMAIN_1_0: {
                readHostElement_1_0(reader, address, operationList);
                break;
            }
View Full Code Here

Examples of org.jboss.as.jaxr.JAXRConstants.Namespace

public class JAXRSubsystemParser implements XMLStreamConstants, XMLElementReader<List<ModelNode>> {

    @Override
    public void readElement(XMLExtendedStreamReader reader, List<ModelNode> operations) throws XMLStreamException {

        Namespace readerNS = Namespace.forUri(reader.getNamespaceURI());
        switch (readerNS) {
            case JAXR_1_0:
                readElement1_0(reader, operations);
                break;
            case JAXR_1_1:
View Full Code Here

Examples of org.jboss.as.jaxr.extension.JAXRConstants.Namespace

public class JAXRSubsystemParser implements XMLStreamConstants, XMLElementReader<List<ModelNode>> {

    @Override
    public void readElement(XMLExtendedStreamReader reader, List<ModelNode> operations) throws XMLStreamException {

        Namespace readerNS = Namespace.forUri(reader.getNamespaceURI());
        switch (readerNS) {
            case JAXR_1_0:
                readElement1_0(reader, operations);
                break;
            case JAXR_1_1:
View Full Code Here

Examples of org.jboss.dna.graph.property.NamespaceRegistry.Namespace

     */
    @Override
    public boolean equals( Object obj ) {
        if (obj == this) return true;
        if (obj instanceof Namespace) {
            Namespace that = (Namespace)obj;
            if (!this.namespaceUri.equals(that.getNamespaceUri())) return false;
            // if (!this.prefix.equals(that.getPrefix())) return false;
            return true;
        }
        return false;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.