org.camunda.bpm.engine.impl.util.xml
Class Namespace

java.lang.Object
  extended by org.camunda.bpm.engine.impl.util.xml.Namespace

public class Namespace
extends Object

Author:
Ronny Bräunlich

Constructor Summary
Namespace(String namespaceUri)
           
Namespace(String namespaceUri, String alternativeUri)
          Creates a namespace with an alternative uri.
 
Method Summary
 boolean equals(Object obj)
           
 String getAlternativeUri()
           
 String getNamespaceUri()
           
 boolean hasAlternativeUri()
          If a namespace has changed over time it could feel responsible for handling the older one.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Namespace

public Namespace(String namespaceUri)

Namespace

public Namespace(String namespaceUri,
                 String alternativeUri)
Creates a namespace with an alternative uri.

Parameters:
namespaceUri -
alternativeUri -
Method Detail

hasAlternativeUri

public boolean hasAlternativeUri()
If a namespace has changed over time it could feel responsible for handling the older one.

Returns:

getNamespaceUri

public String getNamespaceUri()

getAlternativeUri

public String getAlternativeUri()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016 camunda services GmbH. All rights reserved.