Tabnine Logo
AbstractComplexBinding
Code IndexAdd Tabnine to your IDE (free)

How to use
AbstractComplexBinding
in
org.geotools.xml

Best Java code snippets using org.geotools.xml.AbstractComplexBinding (Showing top 19 results out of 315)

origin: org.geotools.xsd/gt-xsd-sld

/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * 
 * @generated modifiable
 */
public Object parse(ElementInstance instance, Node node, Object value) throws Exception {
  // TODO: implement and remove call to super
  return super.parse(instance, node, value);
}
origin: org.geotools.xsd/gt-xsd-filter

public List getProperties(Object object) throws Exception {
  //special hack for Functions, while not mandated by the spec we handle it 
  // here
  BinarySpatialOperator operator = (BinarySpatialOperator) object;
  if ( operator.getExpression2() instanceof Function ) {
    ArrayList props = new ArrayList();
    props.add( new Object[]{ OGC.Function, operator.getExpression2() } ); 
    return props;
  }
  
  return super.getProperties(object);
}

origin: org.geotools.xsd/gt-xsd-wps

public Object getProperty(Object object, QName name) throws Exception {
  ComplexDataType data = (ComplexDataType) object;
  
  if ( "schema".equals( name.getLocalPart() ) ) {
    return data.getSchema();
  }
  
  if ( "mimeType".equals( name.getLocalPart() ) ) {
    return data.getMimeType();
  }
  
  if ( "encoding".equals( name.getLocalPart() ) ) {
    return data.getEncoding();
  }
  
  return super.getProperty(object, name);
}

origin: org.geotools.xsd/gt-xsd-kml

@Override
public void initialize(ElementInstance instance, Node node, MutablePicoContainer context) {
  super.initialize(instance, node, context);
  folderStack.push(new Folder());
}
origin: org.geotools/gt2-xml-filter

  public List getProperties(Object object) throws Exception {
    //special hack for Functions, while not mandated by the spec we handle it 
    // here
    BinarySpatialOperator operator = (BinarySpatialOperator) object;

    if (operator.getExpression2() instanceof Function) {
      ArrayList props = new ArrayList();
      props.add(new Object[] { OGC.Function, operator.getExpression2() });

      return props;
    }

    return super.getProperties(object);
  }
}
origin: org.geotools.xsd/gt-xsd-kml

return super.getProperty(object, name);
origin: org.geotools.xsd/gt-xsd-sld

/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * 
 * @generated modifiable
 */
public Object parse(ElementInstance instance, Node node, Object value) throws Exception {
  // TODO: implement and remove call to super
  return super.parse(instance, node, value);
}
origin: org.geotools.xsd/gt-xsd-sld

/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * 
 * @generated modifiable
 */
public Object parse(ElementInstance instance, Node node, Object value) throws Exception {
  // TODO: implement and remove call to super
  return super.parse(instance, node, value);
}
origin: org.geotools.xsd/gt-xsd-sld

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 *    
 * @generated modifiable
 */	
public Object parse(ElementInstance instance, Node node, Object value) 
  throws Exception {
  
  //TODO: implement and remove call to super
  return super.parse(instance,node,value);
}
origin: org.geoserver/gs-wfs

/**
 *
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 *
 * @generated modifiable
 */
public Object parse(ElementInstance instance, Node node, Object value) throws Exception {
  // TODO: implement and remove call to super
  return super.parse(instance, node, value);
}
origin: org.geotools.xsd/gt-xsd-gml3

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 *
 * @generated modifiable
 */
public Object parse(ElementInstance instance, Node node, Object value)
  throws Exception {
  //TODO: implement and remove call to super
  return super.parse(instance, node, value);
}

origin: org.geotools.xsd/gt-xsd-sld

/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * 
 * @generated modifiable
 */
public Object parse(ElementInstance instance, Node node, Object value) throws Exception {
  // TODO: implement and remove call to super
  return super.parse(instance, node, value);
}
origin: org.geotools.xsd/gt-xsd-wfs

/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * 
 * @generated modifiable
 */
public Object parse(ElementInstance instance, Node node, Object value) throws Exception {
  return super.parse(instance, node, value);
}
origin: org.geotools.xsd/gt-xsd-kml

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 *    
 * @generated modifiable
 */	
public Object parse(ElementInstance instance, Node node, Object value) 
  throws Exception {
  
  //TODO: implement and remove call to super
  return super.parse(instance,node,value);
}
origin: org.geotools.xsd/gt-xsd-kml

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 *    
 * @generated modifiable
 */	
public Object parse(ElementInstance instance, Node node, Object value) 
  throws Exception {
  
  //TODO: implement and remove call to super
  return super.parse(instance,node,value);
}
origin: org.geotools.xsd/gt-xsd-sld

/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * 
 * @generated modifiable
 */
public Object parse(ElementInstance instance, Node node, Object value) throws Exception {
  // TODO: implement and remove call to super
  return super.parse(instance, node, value);
}
origin: org.geotools.xsd/gt-xsd-sld

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 *    
 * @generated modifiable
 */	
public Object parse(ElementInstance instance, Node node, Object value) 
  throws Exception {
  
  //TODO: implement and remove call to super
  return super.parse(instance,node,value);
}
origin: org.geotools.xsd/gt-gml3

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 *
 * @generated modifiable
 */
public Object parse(ElementInstance instance, Node node, Object value)
  throws Exception {
  //TODO: implement and remove call to super
  return super.parse(instance, node, value);
}
origin: org.geotools.xsd/gt-xsd-kml

  @Override
  public Object parse(ElementInstance instance, Node node, Object value) throws Exception {
    Node parent = node.getParent();
    if (parent != null) {
      String parentElementName = parent.getComponent().getName();
      if (FOLDER.equals(parentElementName)) {
        Folder folder = folderStack.peek();
        if (folder != null) {
          folder.setName(value.toString());
        }
      }
    }
    return super.parse(instance, node, value);
  }
}
org.geotools.xmlAbstractComplexBinding

Javadoc

Base class for complex bindings.

Most used methods

  • parse
    Subclasses should override this method, the default implementation return null.
  • getProperties
    Subclasses should override this method if need be, the default implementation returns null. Note tha
  • getProperty
    Subclasses should override this method if need be, the default implementation returns null.
  • initialize

Popular in Java

  • Running tasks concurrently on multiple threads
  • setRequestProperty (URLConnection)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • setScale (BigDecimal)
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now