Codota Logo
GMLFeatureReader.parseProperty
Code IndexAdd Codota to your IDE (free)

How to use
parseProperty
method
in
org.deegree.gml.feature.GMLFeatureReader

Best Java code snippets using org.deegree.gml.feature.GMLFeatureReader.parseProperty (Showing top 5 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Charset c =
  • Codota IconString charsetName;Charset.forName(charsetName)
  • Codota IconCharset.defaultCharset()
  • Codota IconContentType contentType;contentType.getCharset()
  • Smart code suggestions by Codota
}
origin: deegree/deegree3

private Property recreatePropertyFromGml( final PropertyType pt, final GenericXMLElement particle ) {
  try {
    final GMLSchemaInfoSet gmlSchema = ft.getSchema().getGMLSchema();
    final ByteArrayOutputStream bos = new ByteArrayOutputStream();
    final XMLStreamWriter xmlWriter = XMLOutputFactory.newInstance().createXMLStreamWriter( bos );
    final GMLVersion version = ft.getSchema().getGMLSchema().getVersion();
    final GMLStreamWriter gmlWriter = GMLOutputFactory.createGMLStreamWriter( version, xmlWriter );
    gmlWriter.setNamespaceBindings( gmlSchema.getNamespacePrefixes() );
    final GmlXlinkOptions resolveState = new GmlXlinkOptions();
    gmlWriter.getFeatureWriter().export( particle, resolveState );
    gmlWriter.close();
    xmlWriter.close();
    bos.close();
    final InputStream is = new ByteArrayInputStream( bos.toByteArray() );
    final XMLStreamReader xmlReader = XMLInputFactory.newInstance().createXMLStreamReader( is );
    final GMLStreamReader gmlReader = GMLInputFactory.createGMLStreamReader( version, xmlReader );
    gmlReader.setApplicationSchema( ft.getSchema() );
    gmlReader.setLaxMode( true );
    final Property property = gmlReader.getFeatureReader().parseProperty( new XMLStreamReaderWrapper(
                                                     xmlReader,
                                                     null ),
                                       pt, null );
    return property;
  } catch ( final Exception e ) {
    LOG.error( e.getMessage(), e );
  }
  return new GenericProperty( pt, particle.getName(), null, particle.getAttributes(), particle.getChildren() );
}
origin: deegree/deegree3

  propDecl = property.getType();
} else {
  property = parseProperty( xmlStream, propDecl, activeCRS );
origin: deegree/deegree3

    pt = new SimplePropertyType( propName, 1, 1, STRING, null, null );
  Property prop = parseProperty( xmlStream, pt, activeCRS );
  propertyList.add( prop );
  xmlStream.nextTag();
Property property = parseProperty( xmlStream, findConcretePropertyType( propName, activeDecl ), activeCRS );
if ( property != null ) {
origin: deegree/deegree3

  Property property = featureReader.parseProperty( xmlStream, pt, activeCRS );
  if ( property != null ) {
    feature = (Feature) property.getValue();
  featureArrayMode = true;
} else {
  Property property = featureReader.parseProperty( xmlStream, pt, activeCRS );
  if ( property != null ) {
origin: deegree/deegree3

Property prop = featureReader.parseProperty( new XMLStreamReaderWrapper( xmlStream, null ), pt,
                       crs );
org.deegree.gml.featureGMLFeatureReaderparseProperty

Popular methods of GMLFeatureReader

  • <init>
    Creates a new GMLFeatureReader instance that is configured from the given GMLStreamReader.
  • buildAppSchema
  • findConcretePropertyType
  • getFeatureStream
    Returns a StreamFeatureCollection that allows stream-based access to the members of the feature coll
  • lookupFeatureType
    Returns the feature type with the given name. If no feature type with the given name is defined, an
  • parseFeature
    Returns the object representation for the feature (or feature collection) element event that the cur
  • parseFeatureDynamic
  • parseFeatureId
    Parses the feature id attribute from the feature START_ELEMENT event that the givenXMLStreamReader p
  • parseFeatureStatic
  • parseGmlId
  • parseProperties
  • parsePropertyDynamic
  • parseProperties,
  • parsePropertyDynamic,
  • parseTimeSlice

Popular in Java

  • Making http post requests using okhttp
  • addToBackStack (FragmentTransaction)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • putExtra (Intent)
  • String (java.lang)
  • Permission (java.security)
    Abstract class for representing access to a system resource. All permissions have a name (whose inte
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • ConcurrentHashMap (java.util.concurrent)
    A hash table supporting full concurrency of retrievals and adjustable expected concurrency for updat
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • IsNull (org.hamcrest.core)
    Is the value null?
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now