private void exportGenericObjectProperty( final Property prop, final GMLObject object, final GmlXlinkOptions resolveState ) throws XMLStreamException, UnknownCRSException, TransformationException { final ObjectPropertyType pt = (ObjectPropertyType) prop.getType(); final QName propName = pt.getName(); LOG.debug( "Exporting object property '" + propName + "'" ); if ( object == null ) { exportEmptyProperty( propName, prop.getAttributes() ); } else { writeStartElementWithNS( propName.getNamespaceURI(), propName.getLocalPart() ); switch ( pt.getCategory() ) { case TIME_OBJECT: new GmlTimeGeometricPrimitiveWriter().write( writer, (TimeGeometricPrimitive) object ); break; case TIME_SLICE: export( (TimeSlice) object, resolveState ); break; default: throw new RuntimeException(); } writer.writeEndElement(); } }
return getAttributeAxisIterator( n ); Map<QName, PrimitiveValue> attributes = ( (PropertyNode) node ).getValue().getAttributes(); if ( attributes != null ) { List<AttributeNode<?>> attrNodes = new ArrayList<AttributeNode<?>>( attributes.size() );
Map<QName, PrimitiveValue> attributes = property.getAttributes(); TypedObjectNode nil = attributes.get( XSI_NIL ); if ( nil instanceof PrimitiveValue ) {