public class SymbolicName
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SymbolicName.F
Subclass of SymbolicName used for function names (including the arity)
|
Constructor and Description |
---|
SymbolicName(int kind,
StructuredQName name)
Create a symbolic name for a component other than a function.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one.
|
int |
getComponentKind()
Get the kind of component, for example
StandardNames.XSL_FUNCTION or StandardNames.XSL_VARIABLE |
StructuredQName |
getComponentName()
Get the QName part of the symbolic name of the component
|
java.lang.String |
getShortName()
Get a short name suitable for use in messages
|
int |
hashCode()
Returns a hash code value for the object.
|
java.lang.String |
toString()
Get the name as a string.
|
public SymbolicName(int kind, StructuredQName name)
kind
- the component kind, for example StandardNames.XSL_TEMPLATE
name
- the QName that is the "name" of the componentpublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int getComponentKind()
StandardNames.XSL_FUNCTION
or StandardNames.XSL_VARIABLE
public StructuredQName getComponentName()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getShortName()
Copyright (c) 2004-2018 Saxonica Limited. All rights reserved.