org.xmlhammer.model.preferences
Class Preferences

java.lang.Object
  extended by org.xmlhammer.model.preferences.Preferences

public class Preferences
extends java.lang.Object

Java class for preferences element declaration.

The following schema fragment specifies the expected content contained within this class.

 <element name="preferences">
   <complexType>
     <complexContent>
       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
         <sequence>
           <element ref="{http://www.xmlhammer.org/2007/preferences}frame"/>
           <element name="helpmenu">
             <complexType>
               <complexContent>
                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                   <sequence>
                     <element ref="{http://www.xmlhammer.org/2007/preferences}menu" maxOccurs="unbounded"/>
                   </sequence>
                 </restriction>
               </complexContent>
             </complexType>
           </element>
           <element ref="{http://www.xmlhammer.org/2007/preferences}externalApplication"/>
           <element ref="{http://www.xmlhammer.org/2007/preferences}proxy"/>
           <element ref="{http://www.xmlhammer.org/2007/jaxp}settings"/>
           <element name="history">
             <complexType>
               <complexContent>
                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                   <sequence>
                     <element ref="{http://www.xmlhammer.org/2007/preferences}projects"/>
                     <element ref="{http://www.xmlhammer.org/2007/preferences}searches"/>
                     <element ref="{http://www.xmlhammer.org/2007/preferences}sources"/>
                     <element ref="{http://www.xmlhammer.org/2007/preferences}results"/>
                     <element ref="{http://www.xmlhammer.org/2007/preferences}schemas"/>
                     <element ref="{http://www.xmlhammer.org/2007/preferences}patterns"/>
                     <element ref="{http://www.xmlhammer.org/2007/preferences}expressions"/>
                     <element ref="{http://www.xmlhammer.org/2007/preferences}extensions"/>
                     <element ref="{http://www.xmlhammer.org/2007/preferences}directories"/>
                     <element ref="{http://www.xmlhammer.org/2007/preferences}stylesheets"/>
                     <element ref="{http://www.xmlhammer.org/2007/preferences}doctypeSystems"/>
                     <element ref="{http://www.xmlhammer.org/2007/preferences}doctypePublics"/>
                     <element ref="{http://www.xmlhammer.org/2007/preferences}cdataSectionElements"/>
                     <element ref="{http://www.xmlhammer.org/2007/preferences}medias"/>
                     <element ref="{http://www.xmlhammer.org/2007/preferences}titles"/>
                     <element ref="{http://www.xmlhammer.org/2007/preferences}charsets"/>
                   </sequence>
                 </restriction>
               </complexContent>
             </complexType>
           </element>
           <element name="classpath">
             <complexType>
               <complexContent>
                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                   <sequence maxOccurs="unbounded">
                     <element name="jar">
                       <complexType>
                         <complexContent>
                           <extension base="{http://www.xmlhammer.org/2007/jaxp}activatable">
                             <attribute name="src" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
                           </extension>
                         </complexContent>
                       </complexType>
                     </element>
                   </sequence>
                 </restriction>
               </complexContent>
             </complexType>
           </element>
           <element name="catalogs">
             <complexType>
               <complexContent>
                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                   <sequence maxOccurs="unbounded">
                     <element name="catalog">
                       <complexType>
                         <complexContent>
                           <extension base="{http://www.xmlhammer.org/2007/jaxp}activatable">
                             <attribute name="src" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
                           </extension>
                         </complexContent>
                       </complexType>
                     </element>
                   </sequence>
                   <attribute name="preferPublicIdentifiers" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
                 </restriction>
               </complexContent>
             </complexType>
           </element>
           <element name="views">
             <complexType>
               <complexContent>
                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                   <sequence maxOccurs="unbounded">
                     <element name="view" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
                   </sequence>
                   <attribute name="selected" type="{http://www.w3.org/2001/XMLSchema}int" />
                 </restriction>
               </complexContent>
             </complexType>
           </element>
           <element name="socket">
             <complexType>
               <complexContent>
                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                   <attribute name="port" type="{http://www.w3.org/2001/XMLSchema}int" default="10097" />
                   <attribute name="server" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
                 </restriction>
               </complexContent>
             </complexType>
           </element>
         </sequence>
         <attribute name="laf" type="{http://www.w3.org/2001/XMLSchema}string" />
       </restriction>
     </complexContent>
   </complexType>
 </element>
 


Nested Class Summary
static class Preferences.Catalogs
          Java class for anonymous complex type.
static class Preferences.Classpath
          Java class for anonymous complex type.
static class Preferences.Helpmenu
          Java class for anonymous complex type.
static class Preferences.History
          Java class for anonymous complex type.
static class Preferences.Socket
          Java class for anonymous complex type.
static class Preferences.Views
          Java class for anonymous complex type.
 
Field Summary
protected  Preferences.Catalogs catalogs
           
protected  Preferences.Classpath classpath
           
protected  ExternalApplication externalApplication
           
protected  Frame frame
           
protected  Preferences.Helpmenu helpmenu
           
protected  Preferences.History history
           
protected  Settings jaxpSettings
           
protected  java.lang.String laf
           
protected  Proxy proxy
           
protected  Preferences.Socket socket
           
protected  Preferences.Views views
           
 
Constructor Summary
Preferences()
           
 
Method Summary
 Preferences.Catalogs getCatalogs()
          Gets the value of the catalogs property.
 Preferences.Classpath getClasspath()
          Gets the value of the classpath property.
 ExternalApplication getExternalApplication()
          Gets the value of the externalApplication property.
 Frame getFrame()
          Gets the value of the frame property.
 Preferences.Helpmenu getHelpmenu()
          Gets the value of the helpmenu property.
 Preferences.History getHistory()
          Gets the value of the history property.
 Settings getJAXPSettings()
          Gets the value of the jaxpSettings property.
 java.lang.String getLaf()
          Gets the value of the laf property.
 Proxy getProxy()
          Gets the value of the proxy property.
 Preferences.Socket getSocket()
          Gets the value of the socket property.
 Preferences.Views getViews()
          Gets the value of the views property.
 void setCatalogs(Preferences.Catalogs value)
          Sets the value of the catalogs property.
 void setClasspath(Preferences.Classpath value)
          Sets the value of the classpath property.
 void setExternalApplication(ExternalApplication value)
          Sets the value of the externalApplication property.
 void setFrame(Frame value)
          Sets the value of the frame property.
 void setHelpmenu(Preferences.Helpmenu value)
          Sets the value of the helpmenu property.
 void setHistory(Preferences.History value)
          Sets the value of the history property.
 void setJAXPSettings(Settings value)
          Sets the value of the jaxpSettings property.
 void setLaf(java.lang.String value)
          Sets the value of the laf property.
 void setProxy(Proxy value)
          Sets the value of the proxy property.
 void setSocket(Preferences.Socket value)
          Sets the value of the socket property.
 void setViews(Preferences.Views value)
          Sets the value of the views property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

frame

protected Frame frame

helpmenu

protected Preferences.Helpmenu helpmenu

externalApplication

protected ExternalApplication externalApplication

proxy

protected Proxy proxy

jaxpSettings

protected Settings jaxpSettings

history

protected Preferences.History history

classpath

protected Preferences.Classpath classpath

catalogs

protected Preferences.Catalogs catalogs

views

protected Preferences.Views views

socket

protected Preferences.Socket socket

laf

protected java.lang.String laf
Constructor Detail

Preferences

public Preferences()
Method Detail

getFrame

public Frame getFrame()
Gets the value of the frame property.

Returns:
possible object is Frame

setFrame

public void setFrame(Frame value)
Sets the value of the frame property.

Parameters:
value - allowed object is Frame

getHelpmenu

public Preferences.Helpmenu getHelpmenu()
Gets the value of the helpmenu property.

Returns:
possible object is Preferences.Helpmenu

setHelpmenu

public void setHelpmenu(Preferences.Helpmenu value)
Sets the value of the helpmenu property.

Parameters:
value - allowed object is Preferences.Helpmenu

getExternalApplication

public ExternalApplication getExternalApplication()
Gets the value of the externalApplication property.

Returns:
possible object is ExternalApplication

setExternalApplication

public void setExternalApplication(ExternalApplication value)
Sets the value of the externalApplication property.

Parameters:
value - allowed object is ExternalApplication

getProxy

public Proxy getProxy()
Gets the value of the proxy property.

Returns:
possible object is Proxy

setProxy

public void setProxy(Proxy value)
Sets the value of the proxy property.

Parameters:
value - allowed object is Proxy

getJAXPSettings

public Settings getJAXPSettings()
Gets the value of the jaxpSettings property.

Returns:
possible object is Settings

setJAXPSettings

public void setJAXPSettings(Settings value)
Sets the value of the jaxpSettings property.

Parameters:
value - allowed object is Settings

getHistory

public Preferences.History getHistory()
Gets the value of the history property.

Returns:
possible object is Preferences.History

setHistory

public void setHistory(Preferences.History value)
Sets the value of the history property.

Parameters:
value - allowed object is Preferences.History

getClasspath

public Preferences.Classpath getClasspath()
Gets the value of the classpath property.

Returns:
possible object is Preferences.Classpath

setClasspath

public void setClasspath(Preferences.Classpath value)
Sets the value of the classpath property.

Parameters:
value - allowed object is Preferences.Classpath

getCatalogs

public Preferences.Catalogs getCatalogs()
Gets the value of the catalogs property.

Returns:
possible object is Preferences.Catalogs

setCatalogs

public void setCatalogs(Preferences.Catalogs value)
Sets the value of the catalogs property.

Parameters:
value - allowed object is Preferences.Catalogs

getViews

public Preferences.Views getViews()
Gets the value of the views property.

Returns:
possible object is Preferences.Views

setViews

public void setViews(Preferences.Views value)
Sets the value of the views property.

Parameters:
value - allowed object is Preferences.Views

getSocket

public Preferences.Socket getSocket()
Gets the value of the socket property.

Returns:
possible object is Preferences.Socket

setSocket

public void setSocket(Preferences.Socket value)
Sets the value of the socket property.

Parameters:
value - allowed object is Preferences.Socket

getLaf

public java.lang.String getLaf()
Gets the value of the laf property.

Returns:
possible object is String

setLaf

public void setLaf(java.lang.String value)
Sets the value of the laf property.

Parameters:
value - allowed object is String


Copyright 2005-2005-2008 Edwin Dankert. All Rights Reserved.