org.richfaces.javascript
Class LibraryResource

java.lang.Object
  extended by org.richfaces.javascript.LibraryResource

public class LibraryResource
extends Object

This class represent information about external JavaScript library as JSF resource

Author:
asmirnov

Constructor Summary
LibraryResource(String library, String resourceName)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getLibrary()
           
 String getResourceName()
           
 int hashCode()
           
static Iterable<LibraryResource> of(Iterable<LibraryScriptString> scripts)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LibraryResource

public LibraryResource(String library,
                       String resourceName)
Parameters:
library -
resourceName -
Method Detail

getLibrary

public String getLibrary()
Returns:
the library

getResourceName

public String getResourceName()
Returns:
the resourceName

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

toString

public String toString()
Overrides:
toString in class Object

of

public static Iterable<LibraryResource> of(Iterable<LibraryScriptString> scripts)


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.