- From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 05 Aug 2009 17:21:42 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/src/org/w3/unicorn/route/impl
In directory hutz:/tmp/cvs-serv13417/src/org/w3/unicorn/route/impl
Added Files:
Tag: dev2
IndexImpl.java RoutesDocumentImpl.java RouteImpl.java
Error404Impl.java ClassStringImpl.java
Log Message:
modified xmlbean ant task
+changed package name from w3c to w3
--- NEW FILE: RoutesDocumentImpl.java ---
/*
* An XML document type.
* Localname: routes
* Namespace: http://www.w3.org/unicorn/route
* Java type: org.w3.unicorn.route.RoutesDocument
*
* Automatically generated - do not modify.
*/
package org.w3.unicorn.route.impl;
/**
* A document containing one routes(@http://www.w3.org/unicorn/route) element.
*
* This is a complex type.
*/
public class RoutesDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.route.RoutesDocument
{
private static final long serialVersionUID = 1L;
public RoutesDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName ROUTES$0 =
new javax.xml.namespace.QName("http://www.w3.org/unicorn/route", "routes");
/**
* Gets the "routes" element
*/
public org.w3.unicorn.route.RoutesDocument.Routes getRoutes()
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.route.RoutesDocument.Routes target = null;
target = (org.w3.unicorn.route.RoutesDocument.Routes)get_store().find_element_user(ROUTES$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "routes" element
*/
public void setRoutes(org.w3.unicorn.route.RoutesDocument.Routes routes)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.route.RoutesDocument.Routes target = null;
target = (org.w3.unicorn.route.RoutesDocument.Routes)get_store().find_element_user(ROUTES$0, 0);
if (target == null)
{
target = (org.w3.unicorn.route.RoutesDocument.Routes)get_store().add_element_user(ROUTES$0);
}
target.set(routes);
}
}
/**
* Appends and returns a new empty "routes" element
*/
public org.w3.unicorn.route.RoutesDocument.Routes addNewRoutes()
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.route.RoutesDocument.Routes target = null;
target = (org.w3.unicorn.route.RoutesDocument.Routes)get_store().add_element_user(ROUTES$0);
return target;
}
}
/**
* An XML routes(@http://www.w3.org/unicorn/route).
*
* This is a complex type.
*/
public static class RoutesImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.route.RoutesDocument.Routes
{
private static final long serialVersionUID = 1L;
public RoutesImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName ROUTE$0 =
new javax.xml.namespace.QName("http://www.w3.org/unicorn/route", "route");
private static final javax.xml.namespace.QName INDEX$2 =
new javax.xml.namespace.QName("http://www.w3.org/unicorn/route", "index");
private static final javax.xml.namespace.QName ERROR404$4 =
new javax.xml.namespace.QName("http://www.w3.org/unicorn/route", "error404");
/**
* Gets a List of "route" elements
*/
public java.util.List<org.w3.unicorn.route.Route> getRouteList()
{
final class RouteList extends java.util.AbstractList<org.w3.unicorn.route.Route>
{
public org.w3.unicorn.route.Route get(int i)
{ return RoutesImpl.this.getRouteArray(i); }
public org.w3.unicorn.route.Route set(int i, org.w3.unicorn.route.Route o)
{
org.w3.unicorn.route.Route old = RoutesImpl.this.getRouteArray(i);
RoutesImpl.this.setRouteArray(i, o);
return old;
}
public void add(int i, org.w3.unicorn.route.Route o)
{ RoutesImpl.this.insertNewRoute(i).set(o); }
public org.w3.unicorn.route.Route remove(int i)
{
org.w3.unicorn.route.Route old = RoutesImpl.this.getRouteArray(i);
RoutesImpl.this.removeRoute(i);
return old;
}
public int size()
{ return RoutesImpl.this.sizeOfRouteArray(); }
}
synchronized (monitor())
{
check_orphaned();
return new RouteList();
}
}
/**
* Gets array of all "route" elements
* @deprecated
*/
public org.w3.unicorn.route.Route[] getRouteArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List<org.w3.unicorn.route.Route> targetList = new java.util.ArrayList<org.w3.unicorn.route.Route>();
get_store().find_all_element_users(ROUTE$0, targetList);
org.w3.unicorn.route.Route[] result = new org.w3.unicorn.route.Route[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "route" element
*/
public org.w3.unicorn.route.Route getRouteArray(int i)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.route.Route target = null;
target = (org.w3.unicorn.route.Route)get_store().find_element_user(ROUTE$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "route" element
*/
public int sizeOfRouteArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(ROUTE$0);
}
}
/**
* Sets array of all "route" element
*/
public void setRouteArray(org.w3.unicorn.route.Route[] routeArray)
{
synchronized (monitor())
{
check_orphaned();
arraySetterHelper(routeArray, ROUTE$0);
}
}
/**
* Sets ith "route" element
*/
public void setRouteArray(int i, org.w3.unicorn.route.Route route)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.route.Route target = null;
target = (org.w3.unicorn.route.Route)get_store().find_element_user(ROUTE$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
target.set(route);
}
}
/**
* Inserts and returns a new empty value (as xml) as the ith "route" element
*/
public org.w3.unicorn.route.Route insertNewRoute(int i)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.route.Route target = null;
target = (org.w3.unicorn.route.Route)get_store().insert_element_user(ROUTE$0, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "route" element
*/
public org.w3.unicorn.route.Route addNewRoute()
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.route.Route target = null;
target = (org.w3.unicorn.route.Route)get_store().add_element_user(ROUTE$0);
return target;
}
}
/**
* Removes the ith "route" element
*/
public void removeRoute(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(ROUTE$0, i);
}
}
/**
* Gets the "index" element
*/
public org.w3.unicorn.route.Index getIndex()
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.route.Index target = null;
target = (org.w3.unicorn.route.Index)get_store().find_element_user(INDEX$2, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "index" element
*/
public void setIndex(org.w3.unicorn.route.Index index)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.route.Index target = null;
target = (org.w3.unicorn.route.Index)get_store().find_element_user(INDEX$2, 0);
if (target == null)
{
target = (org.w3.unicorn.route.Index)get_store().add_element_user(INDEX$2);
}
target.set(index);
}
}
/**
* Appends and returns a new empty "index" element
*/
public org.w3.unicorn.route.Index addNewIndex()
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.route.Index target = null;
target = (org.w3.unicorn.route.Index)get_store().add_element_user(INDEX$2);
return target;
}
}
/**
* Gets the "error404" element
*/
public org.w3.unicorn.route.Error404 getError404()
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.route.Error404 target = null;
target = (org.w3.unicorn.route.Error404)get_store().find_element_user(ERROR404$4, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "error404" element
*/
public void setError404(org.w3.unicorn.route.Error404 error404)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.route.Error404 target = null;
target = (org.w3.unicorn.route.Error404)get_store().find_element_user(ERROR404$4, 0);
if (target == null)
{
target = (org.w3.unicorn.route.Error404)get_store().add_element_user(ERROR404$4);
}
target.set(error404);
}
}
/**
* Appends and returns a new empty "error404" element
*/
public org.w3.unicorn.route.Error404 addNewError404()
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.route.Error404 target = null;
target = (org.w3.unicorn.route.Error404)get_store().add_element_user(ERROR404$4);
return target;
}
}
}
}
--- NEW FILE: ClassStringImpl.java ---
/*
* XML Type: classString
* Namespace: http://www.w3.org/unicorn/route
* Java type: org.w3.unicorn.route.ClassString
*
* Automatically generated - do not modify.
*/
package org.w3.unicorn.route.impl;
/**
* An XML classString(@http://www.w3.org/unicorn/route).
*
* This is an atomic type that is a restriction of org.w3.unicorn.route.ClassString.
*/
public class ClassStringImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements org.w3.unicorn.route.ClassString
{
private static final long serialVersionUID = 1L;
public ClassStringImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType, false);
}
protected ClassStringImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
{
super(sType, b);
}
}
--- NEW FILE: IndexImpl.java ---
/*
* XML Type: index
* Namespace: http://www.w3.org/unicorn/route
* Java type: org.w3.unicorn.route.Index
*
* Automatically generated - do not modify.
*/
package org.w3.unicorn.route.impl;
/**
* An XML index(@http://www.w3.org/unicorn/route).
*
* This is a complex type.
*/
public class IndexImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.route.Index
{
private static final long serialVersionUID = 1L;
public IndexImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName ACTION$0 =
new javax.xml.namespace.QName("http://www.w3.org/unicorn/route", "action");
/**
* Gets the "action" element
*/
public java.lang.String getAction()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ACTION$0, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "action" element
*/
public org.w3.unicorn.route.ClassString xgetAction()
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.route.ClassString target = null;
target = (org.w3.unicorn.route.ClassString)get_store().find_element_user(ACTION$0, 0);
return target;
}
}
/**
* Sets the "action" element
*/
public void setAction(java.lang.String action)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ACTION$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ACTION$0);
}
target.setStringValue(action);
}
}
/**
* Sets (as xml) the "action" element
*/
public void xsetAction(org.w3.unicorn.route.ClassString action)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.route.ClassString target = null;
target = (org.w3.unicorn.route.ClassString)get_store().find_element_user(ACTION$0, 0);
if (target == null)
{
target = (org.w3.unicorn.route.ClassString)get_store().add_element_user(ACTION$0);
}
target.set(action);
}
}
}
--- NEW FILE: Error404Impl.java ---
/*
* XML Type: error404
* Namespace: http://www.w3.org/unicorn/route
* Java type: org.w3.unicorn.route.Error404
*
* Automatically generated - do not modify.
*/
package org.w3.unicorn.route.impl;
/**
* An XML error404(@http://www.w3.org/unicorn/route).
*
* This is a complex type.
*/
public class Error404Impl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.route.Error404
{
private static final long serialVersionUID = 1L;
public Error404Impl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName ACTION$0 =
new javax.xml.namespace.QName("http://www.w3.org/unicorn/route", "action");
/**
* Gets the "action" element
*/
public java.lang.String getAction()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ACTION$0, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "action" element
*/
public org.w3.unicorn.route.ClassString xgetAction()
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.route.ClassString target = null;
target = (org.w3.unicorn.route.ClassString)get_store().find_element_user(ACTION$0, 0);
return target;
}
}
/**
* Sets the "action" element
*/
public void setAction(java.lang.String action)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ACTION$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ACTION$0);
}
target.setStringValue(action);
}
}
/**
* Sets (as xml) the "action" element
*/
public void xsetAction(org.w3.unicorn.route.ClassString action)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.route.ClassString target = null;
target = (org.w3.unicorn.route.ClassString)get_store().find_element_user(ACTION$0, 0);
if (target == null)
{
target = (org.w3.unicorn.route.ClassString)get_store().add_element_user(ACTION$0);
}
target.set(action);
}
}
}
--- NEW FILE: RouteImpl.java ---
/*
* XML Type: route
* Namespace: http://www.w3.org/unicorn/route
* Java type: org.w3.unicorn.route.Route
*
* Automatically generated - do not modify.
*/
package org.w3.unicorn.route.impl;
/**
* An XML route(@http://www.w3.org/unicorn/route).
*
* This is a complex type.
*/
public class RouteImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.route.Route
{
private static final long serialVersionUID = 1L;
public RouteImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName PATTERN$0 =
new javax.xml.namespace.QName("http://www.w3.org/unicorn/route", "pattern");
private static final javax.xml.namespace.QName ACTION$2 =
new javax.xml.namespace.QName("http://www.w3.org/unicorn/route", "action");
private static final javax.xml.namespace.QName URL$4 =
new javax.xml.namespace.QName("http://www.w3.org/unicorn/route", "url");
/**
* Gets a List of "pattern" elements
*/
public java.util.List<java.lang.String> getPatternList()
{
final class PatternList extends java.util.AbstractList<java.lang.String>
{
public java.lang.String get(int i)
{ return RouteImpl.this.getPatternArray(i); }
public java.lang.String set(int i, java.lang.String o)
{
java.lang.String old = RouteImpl.this.getPatternArray(i);
RouteImpl.this.setPatternArray(i, o);
return old;
}
public void add(int i, java.lang.String o)
{ RouteImpl.this.insertPattern(i, o); }
public java.lang.String remove(int i)
{
java.lang.String old = RouteImpl.this.getPatternArray(i);
RouteImpl.this.removePattern(i);
return old;
}
public int size()
{ return RouteImpl.this.sizeOfPatternArray(); }
}
synchronized (monitor())
{
check_orphaned();
return new PatternList();
}
}
/**
* Gets array of all "pattern" elements
* @deprecated
*/
public java.lang.String[] getPatternArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List<org.apache.xmlbeans.XmlToken> targetList = new java.util.ArrayList<org.apache.xmlbeans.XmlToken>();
get_store().find_all_element_users(PATTERN$0, targetList);
java.lang.String[] result = new java.lang.String[targetList.size()];
for (int i = 0, len = targetList.size() ; i < len ; i++)
result[i] = ((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getStringValue();
return result;
}
}
/**
* Gets ith "pattern" element
*/
public java.lang.String getPatternArray(int i)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PATTERN$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target.getStringValue();
}
}
/**
* Gets (as xml) a List of "pattern" elements
*/
public java.util.List<org.apache.xmlbeans.XmlToken> xgetPatternList()
{
final class PatternList extends java.util.AbstractList<org.apache.xmlbeans.XmlToken>
{
public org.apache.xmlbeans.XmlToken get(int i)
{ return RouteImpl.this.xgetPatternArray(i); }
public org.apache.xmlbeans.XmlToken set(int i, org.apache.xmlbeans.XmlToken o)
{
org.apache.xmlbeans.XmlToken old = RouteImpl.this.xgetPatternArray(i);
RouteImpl.this.xsetPatternArray(i, o);
return old;
}
public void add(int i, org.apache.xmlbeans.XmlToken o)
{ RouteImpl.this.insertNewPattern(i).set(o); }
public org.apache.xmlbeans.XmlToken remove(int i)
{
org.apache.xmlbeans.XmlToken old = RouteImpl.this.xgetPatternArray(i);
RouteImpl.this.removePattern(i);
return old;
}
public int size()
{ return RouteImpl.this.sizeOfPatternArray(); }
}
synchronized (monitor())
{
check_orphaned();
return new PatternList();
}
}
/**
* Gets array of all "pattern" elements
* @deprecated
*/
public org.apache.xmlbeans.XmlToken[] xgetPatternArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List<org.apache.xmlbeans.XmlToken> targetList = new java.util.ArrayList<org.apache.xmlbeans.XmlToken>();
get_store().find_all_element_users(PATTERN$0, targetList);
org.apache.xmlbeans.XmlToken[] result = new org.apache.xmlbeans.XmlToken[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets (as xml) ith "pattern" element
*/
public org.apache.xmlbeans.XmlToken xgetPatternArray(int i)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlToken target = null;
target = (org.apache.xmlbeans.XmlToken)get_store().find_element_user(PATTERN$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return (org.apache.xmlbeans.XmlToken)target;
}
}
/**
* Returns number of "pattern" element
*/
public int sizeOfPatternArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(PATTERN$0);
}
}
/**
* Sets array of all "pattern" element
*/
public void setPatternArray(java.lang.String[] patternArray)
{
synchronized (monitor())
{
check_orphaned();
arraySetterHelper(patternArray, PATTERN$0);
}
}
/**
* Sets ith "pattern" element
*/
public void setPatternArray(int i, java.lang.String pattern)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PATTERN$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
target.setStringValue(pattern);
}
}
/**
* Sets (as xml) array of all "pattern" element
*/
public void xsetPatternArray(org.apache.xmlbeans.XmlToken[]patternArray)
{
synchronized (monitor())
{
check_orphaned();
arraySetterHelper(patternArray, PATTERN$0);
}
}
/**
* Sets (as xml) ith "pattern" element
*/
public void xsetPatternArray(int i, org.apache.xmlbeans.XmlToken pattern)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlToken target = null;
target = (org.apache.xmlbeans.XmlToken)get_store().find_element_user(PATTERN$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
target.set(pattern);
}
}
/**
* Inserts the value as the ith "pattern" element
*/
public void insertPattern(int i, java.lang.String pattern)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target =
(org.apache.xmlbeans.SimpleValue)get_store().insert_element_user(PATTERN$0, i);
target.setStringValue(pattern);
}
}
/**
* Appends the value as the last "pattern" element
*/
public void addPattern(java.lang.String pattern)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PATTERN$0);
target.setStringValue(pattern);
}
}
/**
* Inserts and returns a new empty value (as xml) as the ith "pattern" element
*/
public org.apache.xmlbeans.XmlToken insertNewPattern(int i)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlToken target = null;
target = (org.apache.xmlbeans.XmlToken)get_store().insert_element_user(PATTERN$0, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "pattern" element
*/
public org.apache.xmlbeans.XmlToken addNewPattern()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlToken target = null;
target = (org.apache.xmlbeans.XmlToken)get_store().add_element_user(PATTERN$0);
return target;
}
}
/**
* Removes the ith "pattern" element
*/
public void removePattern(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(PATTERN$0, i);
}
}
/**
* Gets the "action" element
*/
public java.lang.String getAction()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ACTION$2, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "action" element
*/
public org.w3.unicorn.route.ClassString xgetAction()
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.route.ClassString target = null;
target = (org.w3.unicorn.route.ClassString)get_store().find_element_user(ACTION$2, 0);
return target;
}
}
/**
* True if has "action" element
*/
public boolean isSetAction()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(ACTION$2) != 0;
}
}
/**
* Sets the "action" element
*/
public void setAction(java.lang.String action)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ACTION$2, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ACTION$2);
}
target.setStringValue(action);
}
}
/**
* Sets (as xml) the "action" element
*/
public void xsetAction(org.w3.unicorn.route.ClassString action)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.route.ClassString target = null;
target = (org.w3.unicorn.route.ClassString)get_store().find_element_user(ACTION$2, 0);
if (target == null)
{
target = (org.w3.unicorn.route.ClassString)get_store().add_element_user(ACTION$2);
}
target.set(action);
}
}
/**
* Unsets the "action" element
*/
public void unsetAction()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(ACTION$2, 0);
}
}
/**
* Gets the "url" element
*/
public java.lang.String getUrl()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(URL$4, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "url" element
*/
public org.apache.xmlbeans.XmlAnyURI xgetUrl()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(URL$4, 0);
return target;
}
}
/**
* True if has "url" element
*/
public boolean isSetUrl()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(URL$4) != 0;
}
}
/**
* Sets the "url" element
*/
public void setUrl(java.lang.String url)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(URL$4, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(URL$4);
}
target.setStringValue(url);
}
}
/**
* Sets (as xml) the "url" element
*/
public void xsetUrl(org.apache.xmlbeans.XmlAnyURI url)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(URL$4, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_element_user(URL$4);
}
target.set(url);
}
}
/**
* Unsets the "url" element
*/
public void unsetUrl()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(URL$4, 0);
}
}
}
Received on Wednesday, 5 August 2009 17:21:59 UTC