|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.openmarkup.ElementType
Defines an element type, complete with a namespace URI, local name, the element implementation class that is used to represent elements of this type at run time, and the default class of objects realized from this element type.
Constructor Summary | |
ElementType(String namespaceURI,
String localName)
Defines an ElementType with the specified local name
within the specified namespace. |
|
ElementType(String namespaceURI,
String localName,
String elemImplClassName)
Defines an ElementType with the specified local name
within the specified namespace. |
|
ElementType(String namespaceURI,
String localName,
String elemImplClassName,
String objectClassName)
Defines an ElementType with the specified local name
within the specified namespace. |
Method Summary | |
boolean |
equals(Object that)
Same as the superclass version, but may not be overridden any further. |
Constructor |
getConstructor()
Returns a constructor suitable for instantiating the element implementation class. |
String |
getFullName()
Returns the full name of the element type with the namespace URI and local name separated by a colon. |
Class |
getImplementationClass()
Returns the element implementation class that provides the runtime representation of an instance of this element type. |
String |
getLocalName()
Returns the local name of the element type. |
String |
getNamespaceURI()
Returns the namespace URI of the element type. |
String |
getObjectClassName()
Returns the name of the class of objects realized from this element type. |
ElementType |
getReferenceElementType()
Returns the reference type for this element type. |
int |
hashCode()
Same as the superclass version, but may not be overridden any further. |
String |
toString()
Same as getLocalName() . |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ElementType(String namespaceURI, String localName)
ElementType
with the specified local name
within the specified namespace. Elements of this type are represented at
run time by instances of a default element implementation class.
Unless overridden at the markup level, the class of objects realized from
elements of this type is Object
.
namespaceURI
- namespace that elements of this type belong tolocalName
- local name of elements of this typepublic ElementType(String namespaceURI, String localName, String elemImplClassName)
ElementType
with the specified local name
within the specified namespace. Elements of this type are represented at
run time by instances of the specified element implementation class.
Unless overridden at the markup level, the class of objects realized from
elements of this type is Object
.
namespaceURI
- namespace that elements of this type belong tolocalName
- local name of elements of this typeelemImplClassName
- element implementation class namepublic ElementType(String namespaceURI, String localName, String elemImplClassName, String objectClassName)
ElementType
with the specified local name
within the specified namespace. Elements of this type are represented at
run time by instances of the specified element implementation class.
Unless overridden at the markup level, the class of objects realized from
elements of this type is as specified by the objectClassName argument.
namespaceURI
- namespace that elements of this type belong tolocalName
- local name of elements of this typeelemImplClassName
- element implementation class nameobjectClassName
- class of objects realized from this elementMethod Detail |
public Class getImplementationClass()
public Constructor getConstructor()
public String getFullName()
public String getLocalName()
public String getNamespaceURI()
public String getObjectClassName()
public ElementType getReferenceElementType()
public final boolean equals(Object that)
that
- the object that this object is compared with for equality
public final int hashCode()
public final String toString()
getLocalName()
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |