net.sf.jaxme.js
Class JavaSource.Protection

java.lang.Object
  extended bynet.sf.jaxme.js.JavaSource.Protection
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
JavaSource

public static class JavaSource.Protection
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Method Summary
 java.lang.String toString()
           
static JavaSource.Protection valueOf(int pModifiers)
          Returns an instance of Protection by using the methods Modifier.isPublic(int), Modifier.isProtected(int) and Modifier.isPrivate(int) on the argument pModifiers.
static JavaSource.Protection valueOf(java.lang.String pProtection)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

toString

public java.lang.String toString()

valueOf

public static JavaSource.Protection valueOf(java.lang.String pProtection)

valueOf

public static JavaSource.Protection valueOf(int pModifiers)

Returns an instance of Protection by using the methods Modifier.isPublic(int), Modifier.isProtected(int) and Modifier.isPrivate(int) on the argument pModifiers. If neither returns true, assumes JavaSource.DEFAULT_PROTECTION.