xmlBlaster 2.2.0 API

org.xmlBlaster.util.def
Class ResourceInfo

java.lang.Object
  extended by org.xmlBlaster.util.def.ResourceInfo

final class ResourceInfo
extends java.lang.Object

class holding reference data about other documentation locations


Field Summary
static java.lang.String API
           
private  java.lang.String label
           
static java.lang.String REQ
           
private  java.lang.String resource
           
private  java.lang.String type
           
static java.lang.String URL
           
 
Constructor Summary
ResourceInfo(java.lang.String type, java.lang.String label, java.lang.String resource)
           
 
Method Summary
 java.lang.String getLabel()
           
 java.lang.String getResource()
           
 java.lang.String getType()
           
 java.lang.String toXml(java.lang.String extraOffset)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REQ

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

API

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

URL

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

type

private final java.lang.String type

label

private final java.lang.String label

resource

private final java.lang.String resource
Constructor Detail

ResourceInfo

public ResourceInfo(java.lang.String type,
                    java.lang.String label,
                    java.lang.String resource)
Parameters:
type - One of "API", "REQ", "URL"
label - The visible name for the link
resource - The classname (for API), the requirement name (for REQ) or the href url (for URL)
Method Detail

getType

public java.lang.String getType()

getLabel

public java.lang.String getLabel()

getResource

public java.lang.String getResource()

toXml

public final java.lang.String toXml(java.lang.String extraOffset)

xmlBlaster 2.2.0 API

Copyright © 1999-2014 The xmlBlaster.org contributers.