Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  //
  // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 
  // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
  // Any modifications to this file will be lost upon recompilation of the source schema. 
  // Generated on: 2015.04.16 at 07:22:02 AM CEST 
  //
  
  
  package net.opengis.arml.v_2_0;
 
This object contains factory methods for each Java content interface and Java element interface generated in the net.opengis.arml.v_2_0 package.

An ObjectFactory allows you to programatically construct new instances of the Java representation for XML content. The Java representation of XML content can consist of schema derived interfaces and classes representing the binding of schema type definitions, element declarations and model groups. Factory methods for each of these are provided in this class.

 
 public class ObjectFactory {
 
     private final static QName _Arml_QNAME = new QName("http://www.opengis.net/arml/2.0""arml");
     private final static QName _ARElement_QNAME = new QName("http://www.opengis.net/arml/2.0""ARElement");
     private final static QName _Feature_QNAME = new QName("http://www.opengis.net/arml/2.0""Feature");
     private final static QName _Anchor_QNAME = new QName("http://www.opengis.net/arml/2.0""Anchor");
     private final static QName _ScreenAnchor_QNAME = new QName("http://www.opengis.net/arml/2.0""ScreenAnchor");
     private final static QName _ARAnchor_QNAME = new QName("http://www.opengis.net/arml/2.0""ARAnchor");
     private final static QName _Geometry_QNAME = new QName("http://www.opengis.net/arml/2.0""Geometry");
     private final static QName _Tracker_QNAME = new QName("http://www.opengis.net/arml/2.0""Tracker");
     private final static QName _Trackable_QNAME = new QName("http://www.opengis.net/arml/2.0""Trackable");
     private final static QName _RelativeTo_QNAME = new QName("http://www.opengis.net/arml/2.0""RelativeTo");
     private final static QName _VisualAsset_QNAME = new QName("http://www.opengis.net/arml/2.0""VisualAsset");
     private final static QName _VisualAsset2D_QNAME = new QName("http://www.opengis.net/arml/2.0""VisualAsset2D");
     private final static QName _Label_QNAME = new QName("http://www.opengis.net/arml/2.0""Label");
     private final static QName _Fill_QNAME = new QName("http://www.opengis.net/arml/2.0""Fill");
     private final static QName _Text_QNAME = new QName("http://www.opengis.net/arml/2.0""Text");
     private final static QName _Image_QNAME = new QName("http://www.opengis.net/arml/2.0""Image");
     private final static QName _Model_QNAME = new QName("http://www.opengis.net/arml/2.0""Model");
     private final static QName _Condition_QNAME = new QName("http://www.opengis.net/arml/2.0""Condition");
     private final static QName _DistanceCondition_QNAME = new QName("http://www.opengis.net/arml/2.0""DistanceCondition");
     private final static QName _SelectedCondition_QNAME = new QName("http://www.opengis.net/arml/2.0""SelectedCondition");

    
Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: net.opengis.arml.v_2_0
 
     public ObjectFactory() {
     }

    
Create an instance of
 
     public ModelType createModelType() {
         return new ModelType();
     }

    
Create an instance of
 
     public ImageType createImageType() {
         return new ImageType();
     }

    
Create an instance of
 
     public LabelType createLabelType() {
         return new LabelType();
     }

    
Create an instance of
 
     public RelativeToType createRelativeToType() {
         return new RelativeToType();
     }

    
Create an instance of
 
         return new ARAnchorType.Assets();
    }

    
Create an instance of
        return new TrackableType();
    }

    
Create an instance of
        return new TrackableType.Config();
    }

    
Create an instance of
    public TrackerType createTrackerType() {
        return new TrackerType();
    }

    
Create an instance of
        return new ScreenAnchorType();
    }

    
Create an instance of
        return new ScreenAnchorType.Assets();
    }

    
Create an instance of
    public FeatureType createFeatureType() {
        return new FeatureType();
    }

    
Create an instance of
        return new FeatureType.Anchors();
    }

    
Create an instance of
    public ArmlType createArmlType() {
        return new ArmlType();
    }

    
Create an instance of
    public GeometryType createGeometryType() {
        return new GeometryType();
    }

    
Create an instance of
    public FillType createFillType() {
        return new FillType();
    }

    
Create an instance of
    public TextType createTextType() {
        return new TextType();
    }

    
Create an instance of
        return new DistanceConditionType();
    }

    
Create an instance of
        return new SelectedConditionType();
    }

    
Create an instance of
        return new OrientationType();
    }

    
Create an instance of
        return new ScalingModeType();
    }

    
Create an instance of
    public ScaleType createScaleType() {
        return new ScaleType();
    }

    
Create an instance of
        return new VisualAssetType.Conditions();
    }

    
Create an instance of
    public ModelType.Href createModelTypeHref() {
        return new ModelType.Href();
    }

    
Create an instance of
    public ImageType.Href createImageTypeHref() {
        return new ImageType.Href();
    }

    
Create an instance of
    public LabelType.Href createLabelTypeHref() {
        return new LabelType.Href();
    }

    
Create an instance of
        return new RelativeToType.Ref();
    }

    
Create an instance of
        return new ARAnchorType.Assets.AssetRef();
    }

    
Create an instance of
        return new TrackableType.Config.Tracker();
    }

    
Create an instance of
        return new TrackerType.Uri();
    }

    
Create an instance of
        return new TrackerType.Src();
    }

    
Create an instance of
        return new ScreenAnchorType.Assets.AssetRef();
    }

    
Create an instance of
        return new FeatureType.Metadata();
    }

    
Create an instance of
        return new FeatureType.Anchors.AnchorRef();
    }

    
Create an instance of
        return new ArmlType.ARElements();
    }

    
Create an instance of
    public ArmlType.Style createArmlTypeStyle() {
        return new ArmlType.Style();
    }

    
Create an instance of
        return new ArmlType.Script();
    }

    
Create an instance of <>}
    @XmlElementDecl(namespace = "http://www.opengis.net/arml/2.0", name = "arml")
    public JAXBElement<ArmlTypecreateArml(ArmlType value) {
        return new JAXBElement<ArmlType>(ArmlType.classnullvalue);
    }

    
Create an instance of <>}
    @XmlElementDecl(namespace = "http://www.opengis.net/arml/2.0", name = "ARElement")
        return new JAXBElement<ARElementType>(ARElementType.classnullvalue);
    }

    
Create an instance of <>}
    @XmlElementDecl(namespace = "http://www.opengis.net/arml/2.0", name = "Feature", substitutionHeadNamespace = "http://www.opengis.net/arml/2.0", substitutionHeadName = "ARElement")
        return new JAXBElement<FeatureType>(FeatureType.classnullvalue);
    }

    
Create an instance of <>}
    @XmlElementDecl(namespace = "http://www.opengis.net/arml/2.0", name = "Anchor", substitutionHeadNamespace = "http://www.opengis.net/arml/2.0", substitutionHeadName = "ARElement")
    public JAXBElement<AnchorTypecreateAnchor(AnchorType value) {
        return new JAXBElement<AnchorType>(AnchorType.classnullvalue);
    }

    
Create an instance of <>}
    @XmlElementDecl(namespace = "http://www.opengis.net/arml/2.0", name = "ScreenAnchor", substitutionHeadNamespace = "http://www.opengis.net/arml/2.0", substitutionHeadName = "Anchor")
        return new JAXBElement<ScreenAnchorType>(ScreenAnchorType.classnullvalue);
    }

    
Create an instance of <>}
    @XmlElementDecl(namespace = "http://www.opengis.net/arml/2.0", name = "ARAnchor", substitutionHeadNamespace = "http://www.opengis.net/arml/2.0", substitutionHeadName = "Anchor")
        return new JAXBElement<ARAnchorType>(ARAnchorType.classnullvalue);
    }

    
Create an instance of <>}
    @XmlElementDecl(namespace = "http://www.opengis.net/arml/2.0", name = "Geometry", substitutionHeadNamespace = "http://www.opengis.net/arml/2.0", substitutionHeadName = "ARAnchor")
        return new JAXBElement<GeometryType>(GeometryType.classnullvalue);
    }

    
Create an instance of <>}
    @XmlElementDecl(namespace = "http://www.opengis.net/arml/2.0", name = "Tracker", substitutionHeadNamespace = "http://www.opengis.net/arml/2.0", substitutionHeadName = "ARElement")
        return new JAXBElement<TrackerType>(TrackerType.classnullvalue);
    }

    
Create an instance of <>}
    @XmlElementDecl(namespace = "http://www.opengis.net/arml/2.0", name = "Trackable", substitutionHeadNamespace = "http://www.opengis.net/arml/2.0", substitutionHeadName = "ARAnchor")
        return new JAXBElement<TrackableType>(TrackableType.classnullvalue);
    }

    
Create an instance of <>}
    @XmlElementDecl(namespace = "http://www.opengis.net/arml/2.0", name = "RelativeTo", substitutionHeadNamespace = "http://www.opengis.net/arml/2.0", substitutionHeadName = "ARAnchor")
        return new JAXBElement<RelativeToType>(RelativeToType.classnullvalue);
    }

    
Create an instance of <>}
    @XmlElementDecl(namespace = "http://www.opengis.net/arml/2.0", name = "VisualAsset", substitutionHeadNamespace = "http://www.opengis.net/arml/2.0", substitutionHeadName = "ARElement")
        return new JAXBElement<VisualAssetType>(VisualAssetType.classnullvalue);
    }

    
Create an instance of <>}
    @XmlElementDecl(namespace = "http://www.opengis.net/arml/2.0", name = "VisualAsset2D", substitutionHeadNamespace = "http://www.opengis.net/arml/2.0", substitutionHeadName = "VisualAsset")
        return new JAXBElement<VisualAsset2DType>(VisualAsset2DType.classnullvalue);
    }

    
Create an instance of <>}
    @XmlElementDecl(namespace = "http://www.opengis.net/arml/2.0", name = "Label", substitutionHeadNamespace = "http://www.opengis.net/arml/2.0", substitutionHeadName = "VisualAsset2D")
    public JAXBElement<LabelTypecreateLabel(LabelType value) {
        return new JAXBElement<LabelType>(LabelType.classnullvalue);
    }

    
Create an instance of <>}
    @XmlElementDecl(namespace = "http://www.opengis.net/arml/2.0", name = "Fill", substitutionHeadNamespace = "http://www.opengis.net/arml/2.0", substitutionHeadName = "VisualAsset2D")
    public JAXBElement<FillTypecreateFill(FillType value) {
        return new JAXBElement<FillType>(FillType.classnullvalue);
    }

    
Create an instance of <>}
    @XmlElementDecl(namespace = "http://www.opengis.net/arml/2.0", name = "Text", substitutionHeadNamespace = "http://www.opengis.net/arml/2.0", substitutionHeadName = "VisualAsset2D")
    public JAXBElement<TextTypecreateText(TextType value) {
        return new JAXBElement<TextType>(TextType.classnullvalue);
    }

    
Create an instance of <>}
    @XmlElementDecl(namespace = "http://www.opengis.net/arml/2.0", name = "Image", substitutionHeadNamespace = "http://www.opengis.net/arml/2.0", substitutionHeadName = "VisualAsset2D")
    public JAXBElement<ImageTypecreateImage(ImageType value) {
        return new JAXBElement<ImageType>(ImageType.classnullvalue);
    }

    
Create an instance of <>}
    @XmlElementDecl(namespace = "http://www.opengis.net/arml/2.0", name = "Model", substitutionHeadNamespace = "http://www.opengis.net/arml/2.0", substitutionHeadName = "VisualAsset")
    public JAXBElement<ModelTypecreateModel(ModelType value) {
        return new JAXBElement<ModelType>(ModelType.classnullvalue);
    }

    
Create an instance of <>}
    @XmlElementDecl(namespace = "http://www.opengis.net/arml/2.0", name = "Condition", substitutionHeadNamespace = "http://www.opengis.net/arml/2.0", substitutionHeadName = "ARElement")
        return new JAXBElement<ConditionType>(ConditionType.classnullvalue);
    }

    
Create an instance of <>}
    @XmlElementDecl(namespace = "http://www.opengis.net/arml/2.0", name = "DistanceCondition", substitutionHeadNamespace = "http://www.opengis.net/arml/2.0", substitutionHeadName = "Condition")
        return new JAXBElement<DistanceConditionType>(DistanceConditionType.classnullvalue);
    }

    
Create an instance of <>}
    @XmlElementDecl(namespace = "http://www.opengis.net/arml/2.0", name = "SelectedCondition", substitutionHeadNamespace = "http://www.opengis.net/arml/2.0", substitutionHeadName = "Condition")
        return new JAXBElement<SelectedConditionType>(SelectedConditionType.classnullvalue);
    }
New to GrepCode? Check out our FAQ X