org.apache.sling.maven.jcrocm
Class ClassDescriptor

java.lang.Object
  extended by org.apache.sling.maven.jcrocm.ClassDescriptor

public class ClassDescriptor
extends java.lang.Object

The ClassDescriptor class provides support for the class-descriptor element of a class mapping, which has the following attribute list definition:

  <!ATTLIST class-descriptor
      className CDATA #REQUIRED
      jcrType CDATA #IMPLIED
      jcrSuperTypes CDATA #IMPLIED
      jcrMixinTypes CDATA #IMPLIED
      extend CDATA #IMPLIED
      abstract (true|false) "false"
      interface (true|false) "false"
      discriminator (true|false) "true"
  >
  <!ATTLIST implement-descriptor
      interfaceName CDATA #REQUIRED
  >
 

Additionally, as can be seen from above, the implement-descriptor is also supported by this class. It retrieves the list of interfaces from the described class.


Field Summary
static java.lang.String ABSTRACT
           
static java.lang.String CLASS_NAME
           
static java.lang.String DISCRIMINATOR
           
static java.lang.String ELEMENT_CLASS_DESCRIPTOR
           
static java.lang.String ELEMENT_IMPLEMENT_DESCRIPTOR
           
static java.lang.String EXTEND
           
static java.lang.String INTERFACE
           
static java.lang.String INTERFACE_NAME
           
static java.lang.String INTERFACES
           
static java.lang.String JCR_MIXIN_TYPES
           
static java.lang.String JCR_SUPER_TYPES
           
static java.lang.String JCR_TYPE
           
protected  com.thoughtworks.qdox.model.DocletTag tag
           
static java.lang.String TAG_CLASS_DESCRIPTOR
           
 
Method Summary
protected  void log(java.lang.String message)
           
protected  void warn(java.lang.String message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TAG_CLASS_DESCRIPTOR

public static final java.lang.String TAG_CLASS_DESCRIPTOR
See Also:
Constant Field Values

ELEMENT_CLASS_DESCRIPTOR

public static final java.lang.String ELEMENT_CLASS_DESCRIPTOR
See Also:
Constant Field Values

CLASS_NAME

public static final java.lang.String CLASS_NAME
See Also:
Constant Field Values

JCR_TYPE

public static final java.lang.String JCR_TYPE
See Also:
Constant Field Values

JCR_SUPER_TYPES

public static final java.lang.String JCR_SUPER_TYPES
See Also:
Constant Field Values

JCR_MIXIN_TYPES

public static final java.lang.String JCR_MIXIN_TYPES
See Also:
Constant Field Values

EXTEND

public static final java.lang.String EXTEND
See Also:
Constant Field Values

INTERFACES

public static final java.lang.String INTERFACES
See Also:
Constant Field Values

ABSTRACT

public static final java.lang.String ABSTRACT
See Also:
Constant Field Values

INTERFACE

public static final java.lang.String INTERFACE
See Also:
Constant Field Values

DISCRIMINATOR

public static final java.lang.String DISCRIMINATOR
See Also:
Constant Field Values

ELEMENT_IMPLEMENT_DESCRIPTOR

public static final java.lang.String ELEMENT_IMPLEMENT_DESCRIPTOR
See Also:
Constant Field Values

INTERFACE_NAME

public static final java.lang.String INTERFACE_NAME
See Also:
Constant Field Values

tag

protected final com.thoughtworks.qdox.model.DocletTag tag
Method Detail

log

protected void log(java.lang.String message)

warn

protected void warn(java.lang.String message)


Copyright © 2007-2009. All Rights Reserved.