ecologylab.xml.types.scalar
Class URLType

java.lang.Object
  extended by ecologylab.generic.Debug
      extended by ecologylab.xml.types.scalar.ScalarType<T>
          extended by ecologylab.xml.types.scalar.ReferenceType<java.net.URL>
              extended by ecologylab.xml.types.scalar.URLType

public class URLType
extends ReferenceType<java.net.URL>

Type system entry for URL. This should almost never be used. ParsedURLType is preferred!

Author:
andruid

Field Summary
 
Fields inherited from class ecologylab.xml.types.scalar.ScalarType
DEFAULT_DELIMS, DEFAULT_VALUE, DEFAULT_VALUE_STRING
 
Constructor Summary
URLType()
           
 
Method Summary
 java.lang.String delimeters()
          For editing: these are the valid delimiters for separating tokens that make up a field of this type.
 java.net.URL getInstance(java.lang.String value)
          If this is a reference type, build an appropriate Object, given a String representation.
 
Methods inherited from class ecologylab.xml.types.scalar.ReferenceType
appendValue, appendValue
 
Methods inherited from class ecologylab.xml.types.scalar.ScalarType
affordsInterestExpression, allowDelimitersInTokens, allowNewLines, appendValue, appendValue, composedOfTerms, defaultValue, defaultValueLength, defaultValueString, getClassName, getTypeClass, illegalChars, isDefaultValue, isDefaultValue, isFloatingPoint, isPrimitive, isReference, marshall, needsEscaping, setField, setFieldError, toString
 
Methods inherited from class ecologylab.generic.Debug
classSimpleName, closeLoggingFile, debug, debug, debug, debug, debugA, debugA, debugA, debugI, debugI, debugI, error, error, getClassName, getInteractive, getPackageName, getPackageName, getPackageName, initialize, level, level, level, logToFile, print, print, println, println, println, println, println, println, printlnA, printlnA, printlnA, printlnI, printlnI, printlnI, printlnI, setLoggingFile, show, show, superString, toggleInteractive, toString, toString, warning, warning, weird, weird
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

URLType

public URLType()
Method Detail

getInstance

public java.net.URL getInstance(java.lang.String value)
Description copied from class: ScalarType
If this is a reference type, build an appropriate Object, given a String representation. If it is a primitive type, return a boxed value.

Specified by:
getInstance in class ScalarType<java.net.URL>
Parameters:
value - is interpreted as an absolute internet address.
See Also:
ScalarType.getInstance(java.lang.String)

delimeters

public java.lang.String delimeters()
For editing: these are the valid delimiters for separating tokens that make up a field of this type.

Overrides:
delimeters in class ScalarType<java.net.URL>
Returns: